Skip to content

Instantly share code, notes, and snippets.

@caiofcm
Created April 27, 2022 13:26
Show Gist options
  • Save caiofcm/0eeb5663d411541759d13e83bd8711ee to your computer and use it in GitHub Desktop.
Save caiofcm/0eeb5663d411541759d13e83bd8711ee to your computer and use it in GitHub Desktop.
Debug configuration for Python + CPP in Visual Code (msvc debugger for CPP)
{
// 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": "(Windows) Attach",
"type": "cppvsdbg",
"request": "attach",
"processId": "${command:pickProcess}"
},
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": false,
},
{
"name": "Python: Debug Tests",
"type": "python",
"request": "launch",
"program": "${file}",
"purpose": ["debug-test"],
"console": "integratedTerminal",
"justMyCode": false
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment