-
Notifications
You must be signed in to change notification settings - Fork 28.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specify the current directory of the debugger #54465
Comments
@actboy168 what does your JSON snippet from above show? |
package.json |
why are you trying to "reach" outside of your extension folder for one argument (the The program to debug comes as an argument via the "launch" request. |
".\script\main.lua" is the code for my debugger, not the code to debug target. |
If I remember correctly then a debug adapter executable is specified like this:
or even:
|
According to the docs, runtime only supports two options: https://github.com/Microsoft/vscode-docs/blob/master/docs/extensions/example-debuggers.md |
I think my |
The doc might be outdated. The implementation probably allows any runtime. |
OK, |
This is fixed by the new API made available as part of #56646 |
I am using a process to implement the debugger, like this
For
program
, its relative path is based on the extension directory. But forargs
, its relative path is based on the vscode directory. This directory has no value for the extension, so I want to specify the current directory of the program.The text was updated successfully, but these errors were encountered: