Skip to content

Instantly share code, notes, and snippets.

@FlameWert
Created January 5, 2023 05:04
Show Gist options
  • Save FlameWert/b7f00b39c0bc944758655db35c05bc2d to your computer and use it in GitHub Desktop.
Save FlameWert/b7f00b39c0bc944758655db35c05bc2d to your computer and use it in GitHub Desktop.
Multiple configurations on launch.json
{
// 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": [
{
"name": "Python: Main File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"args": "-n Main",
"purpose": ["debug-in-terminal"],
"justMyCode": true
},
{
"name": "Python: Module 1",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"args": "-n Module 1",
"purpose": ["debug-in-terminal"],
"justMyCode": true
},
{
"name": "Python: Module 2",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"args": "-n Module 2",
"purpose": ["debug-in-terminal"],
"justMyCode": true
},
{
"name": "Python: Module 3",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"args": "-n Module 3",
"purpose": ["debug-in-terminal"],
"justMyCode": true
}
]
}
@FlameWert
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment