-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Leaner launch.json generation #62851
Comments
@weinand houghts if node should be simplified, currently it generates the following file
imho I like this and would not add any wizard that asks if you would like to launch / attach |
@roblourens chrome currently generates this {
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
},
]
} I also like that and I think we should be aligned with what node is doing. |
Configuring sourceMapPathOverrides and pathMapping is still an issue, but it's something you have to "discover" by looking at the app during runtime, I wouldn't try to make it easier during launch config creation. If we want to optimize for few parameters by default, |
Adding Another repository which the users could help with is PHP. More details here xdebug/vscode-php-debug#318 There are extensions which are already using latest vscode debug configuration api which can be used as examples, for instance node debug |
@isidorn after struggling for some time with escaping the $ symbol in configurationSnippets I found this syntax in the node extension you linked to: "localRoot": "^"\${workspaceFolder}"", could you please tell me:
Thank you. |
@YisraelV here's some snippet documentation https://code.visualstudio.com/docs/editor/userdefinedsnippets Hope that helps, and thanks for your contribution |
We have provided feedback to most popular extensions, some are already updated and some are planning to update. Since all the work pllaned has been done I am closing this |
These are all the extensions from our top 100 which support debugging.
The text was updated successfully, but these errors were encountered: