75 lines
2.3 KiB
JSON
75 lines
2.3 KiB
JSON
// A launch configuration that compiles the extension and then opens it inside a new window
|
|
// 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": "Run Extension",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
|
|
"outFiles": ["${workspaceFolder}/client/**/*.js"],
|
|
"autoAttachChildProcesses": true,
|
|
"preLaunchTask": {
|
|
"type": "npm",
|
|
"script": "watch"
|
|
}
|
|
},
|
|
{
|
|
"name": "Python Attach",
|
|
"type": "debugpy",
|
|
"request": "attach",
|
|
"processId": "${command:pickProcess}",
|
|
"justMyCode": false,
|
|
"presentation": {
|
|
"hidden": false,
|
|
"group": "",
|
|
"order": 3
|
|
}
|
|
},
|
|
{
|
|
"name": "Debug Extension (hidden)",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
|
|
"outFiles": ["${workspaceFolder}/client/**/*.js"],
|
|
"env": {
|
|
"USE_DEBUGPY": "True"
|
|
},
|
|
"presentation": {
|
|
"hidden": true,
|
|
"group": "",
|
|
"order": 4
|
|
}
|
|
},
|
|
{
|
|
"name": "Python debug server (hidden)",
|
|
"type": "debugpy",
|
|
"request": "attach",
|
|
"listen": { "host": "localhost", "port": 5678 },
|
|
"justMyCode": true,
|
|
"presentation": {
|
|
"hidden": true,
|
|
"group": "",
|
|
"order": 4
|
|
}
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Debug Extension and Python",
|
|
"configurations": ["Python debug server (hidden)", "Debug Extension (hidden)"],
|
|
"stopAll": true,
|
|
"preLaunchTask": "npm: watch",
|
|
"presentation": {
|
|
"hidden": false,
|
|
"group": "",
|
|
"order": 1
|
|
}
|
|
}
|
|
]
|
|
}
|