microsoft / vscode-mock-debug

Starter sample for developing debug adapters for VSCode.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adapter not working when changed to `external` mode

mdgeorge4153 opened this issue · comments

I'm having trouble getting vscode to run a separate DAP process. I tried changing runMode to external in extension.ts for the mock adapter. When I click "start debugging", the debug views appear, but I can't interact with them.

More generally, I'm trying to implement my own debugger as a separate process, but vscode doesn't seem to be invoking the executable I supplied in the contributes.debuggers.program field in package.json.

See also:

Turns out I was missing launch.json in my sample repository