feat(debug): add Python debug visualizer and integrate with existing tools

This commit is contained in:
mynameisdeleted
2026-07-09 14:17:12 -04:00
parent 9b75caba10
commit 7fbdb51be7
7 changed files with 540 additions and 16 deletions

9
.vscode/launch.json vendored
View File

@@ -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",

View File

@@ -5,6 +5,9 @@
"debugVisualizer.debugAdapterConfigurations": {
"cppdbg": {
"expressionTemplate": "$debug_graph(${expr})"
},
"debugpy": {
"expressionTemplate": "__import__('debug_graph').debug_graph(${expr})"
}
}
}