feat(debug): add Python debug visualizer and integrate with existing tools
This commit is contained in:
9
.vscode/launch.json
vendored
9
.vscode/launch.json
vendored
@@ -37,6 +37,15 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Debug list_example (Python)",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/python/main.py",
|
||||
"cwd": "${workspaceFolder}/python",
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": true
|
||||
},
|
||||
{
|
||||
"name": "Debug list_example (C++)",
|
||||
"type": "cppdbg",
|
||||
|
||||
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@@ -5,6 +5,9 @@
|
||||
"debugVisualizer.debugAdapterConfigurations": {
|
||||
"cppdbg": {
|
||||
"expressionTemplate": "$debug_graph(${expr})"
|
||||
},
|
||||
"debugpy": {
|
||||
"expressionTemplate": "__import__('debug_graph').debug_graph(${expr})"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user