You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
configVS Code configuration, settingsdebugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionality
I have this file and can use my every project. I just don't want to copy them all the time. VSCode generates .vscode/launch.json file every time at project root, this is no good for me. Is it possible to have just one static and default launch config file? Or a option to avoid this copying problem?
Kutsan Kaplan (@kutsan) currently it is not possible to have one global launch.json file which would be used everywhere, but what works is to add a "launch" object inside your user settings (preferences > user settings). This way it will be shared across all your workspaces
Example:
Isidor Nikolic (@isidorn) thanks for the very quick fix! It looks nice, but something is still not clear to me:
What is the order of precedence of this? Does a launch configuration in the user/workspace setting override a launch config in the launch.json? Perhaps it'd be good to clarify this.
I have added an example inline in the documentation and I have clarified that if a launch.json is present in the workspace the global launch confiugration is ignored.
Thanks for feedback!
configVS Code configuration, settingsdebugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionality
Activity
bpasero commentedon Jan 13, 2017
fyi Andre Weinand (@weinand) Isidor Nikolic (@isidorn)
isidorn commentedon Jan 13, 2017
Kutsan Kaplan (@kutsan) currently it is not possible to have one global launch.json file which would be used everywhere, but what works is to add a "launch" object inside your user settings (preferences > user settings). This way it will be shared across all your workspaces
Example:
weinand commentedon Jan 13, 2017
Isidor Nikolic (@isidorn) this is a feature that we mention in the release notes (and the doc).
isidorn commentedon Jan 13, 2017
Andre Weinand (@weinand) makes sense, we should market it proper
matyasforian commentedon Apr 4, 2017
Andre Weinand (@weinand) Where is it in the docs? Ive looked here: https://code.visualstudio.com/docs/getstarted/settings and here: https://code.visualstudio.com/docs/editor/debugging but could not fund anything.
weinand commentedon Apr 4, 2017
Isidor Nikolic (@isidorn) please add this to the generic debugger doc.
matyasforian commentedon Apr 4, 2017
Also the "launch" tag is not recognized by IntelliSense in the settings.. this is a bug I guess. Ill make a report.
isidorn commentedon Apr 5, 2017
I have added this section to the debugging doc
https://github.com/microsoft/vscode-docs/blob/vnext/docs/editor/debugging.md#L96
matyasforian commentedon Apr 5, 2017
Isidor Nikolic (@isidorn) thanks for the very quick fix! It looks nice, but something is still not clear to me:
What is the order of precedence of this? Does a launch configuration in the user/workspace setting override a launch config in the launch.json? Perhaps it'd be good to clarify this.
weinand commentedon Apr 5, 2017
And I suggest to include an inline example in the documentation (instead of a link to an issue).
global launch configuration add an example
isidorn commentedon Apr 5, 2017
I have added an example inline in the documentation and I have clarified that if a launch.json is present in the workspace the global launch confiugration is ignored.
Thanks for feedback!