Multiple startup files in Visual Studio Code
2 answers
VSCode only supports one .json run, but you can have multiple run configurations inside one run. json. The example https://code.visualstudio.com/Docs/debugging has 3 different launch configurations. You can specify any amount and select the active one using the drop-down list in the debug view.
+10
source to share
While the question is about multiple configurations for a single folder, I just want to mention an alternative: multiple folders in the same workspace, each with its own launch.json.
One way is to just copy the file .vscode/launch.json
to another folder and edit it. The required configuration can be selected or edited from the drop-down menu to the right of the "Start Debugging" button (green "game").
0
source to share