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
+41
View File
@@ -28,6 +28,47 @@
"panel": "dedicated",
"clear": true
}
},
{
"label": "NX Post Support: Start Dev Host (Linux)",
"detail": "Opens the Extension Development Host with the inspector on 127.0.0.1:9333 (workaround for js-debug localhost/::1 attach bug).",
"type": "shell",
"command": "\"$(dirname \"${execPath}\")/bin/$(basename \"${execPath}\")\" --new-window --inspect-brk-extensions=9333 --extensionDevelopmentPath=\"${workspaceFolder}\" \"${workspaceFolder}\" \"${workspaceFolder}/test/postprocessor\"",
"options": {
"shell": {
"executable": "/bin/bash",
"args": ["-c"]
}
},
"dependsOn": "NX Post Support: Compile Debug",
"problemMatcher": [],
"presentation": {
"reveal": "silent",
"panel": "dedicated"
}
},
{
"label": "NX Post Support: Start Dev Host with debugpy (Linux)",
"detail": "Same as above, but the language server connects to the debugpy listener on 127.0.0.1:5678.",
"type": "shell",
"command": "\"$(dirname \"${execPath}\")/bin/$(basename \"${execPath}\")\" --new-window --inspect-brk-extensions=9333 --extensionDevelopmentPath=\"${workspaceFolder}\" \"${workspaceFolder}\" \"${workspaceFolder}/test/postprocessor\"",
"options": {
"shell": {
"executable": "/bin/bash",
"args": ["-c"]
},
"env": {
"USE_DEBUGPY": "True",
"NXPS_DEBUG_HOST": "127.0.0.1",
"NXPS_DEBUG_PORT": "5678"
}
},
"dependsOn": "NX Post Support: Compile Debug",
"problemMatcher": [],
"presentation": {
"reveal": "silent",
"panel": "dedicated"
}
}
]
}