chore(vscode): add Linux debug launch configurations and tasks, update lockfile

This commit is contained in:
2026-09-24 07:53:15 +02:00
parent c1355970bf
commit 4f11ed7ecf
3 changed files with 95 additions and 2 deletions
+52
View File
@@ -39,6 +39,48 @@
"autoAttachChildProcesses": true,
"preLaunchTask": "NX Post Support: Compile Debug"
},
{
// Linux workaround: js-debug's extensionHost attach probes localhost and [::1]
// in parallel and aborts when [::1] is refused. Start the dev host ourselves
// with a fixed inspector port and attach directly to 127.0.0.1.
"name": "Run Extension (Linux)",
"type": "node",
"request": "attach",
"address": "127.0.0.1",
"port": 9333,
"timeout": 30000,
"continueOnAttach": true,
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"resolveSourceMapLocations": [
"${workspaceFolder}/dist/**/*.js",
"!**/node_modules/**"
],
"skipFiles": ["<node_internals>/**"],
"preLaunchTask": "NX Post Support: Start Dev Host (Linux)"
},
{
"name": "Debug Extension (Linux, hidden)",
"type": "node",
"request": "attach",
"address": "127.0.0.1",
"port": 9333,
"timeout": 30000,
"continueOnAttach": true,
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"resolveSourceMapLocations": [
"${workspaceFolder}/dist/**/*.js",
"!**/node_modules/**"
],
"skipFiles": ["<node_internals>/**"],
"preLaunchTask": "NX Post Support: Start Dev Host with debugpy (Linux)",
"presentation": {
"hidden": true,
"group": "",
"order": 4
}
},
{
"name": "Python Attach",
"type": "debugpy",
@@ -118,6 +160,16 @@
"group": "",
"order": 1
}
},
{
"name": "Debug Extension and Python (Linux)",
"configurations": ["Python debug server (hidden)", "Debug Extension (Linux, hidden)"],
"stopAll": true,
"presentation": {
"hidden": false,
"group": "",
"order": 2
}
}
]
}