How to start debugging session without launch.json? #2709
-
I'm developing a debugging extension for my programming language. I don't want users to need to create a I can manually trigger the debugging session by: await vscode.debug.startDebugging(undefined, {
name: "my-debug",
type: "my-debug",
request: "launch",
}) It seems like this is supported as discussed in microsoft/vscode#285, but the provided example links are rotten. I couldn't find the commits which have the examples. The I tried implementing startSessionCommand based on ramya-rao-a/vscode-go@e7c8273. But that did not work at all. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can refer to https://github.com/microsoft/vscode-mock-debug:
|
Beta Was this translation helpful? Give feedback.
startSessionCommand
is deprecated. See microsoft/vscode#33791 and https://code.visualstudio.com/updates/v1_17You can refer to https://github.com/microsoft/vscode-mock-debug: