Merge pull request #28303 from pguppy/docs/vscode-debug

docs(vscode): update vscode debugger instructions for backend
This commit is contained in:
Fredrik Adelöw
2024-12-25 10:04:37 +01:00
committed by GitHub
+13 -13
View File
@@ -56,19 +56,19 @@ In your `launch.json`, add a new entry with the following,
```jsonc
{
"name": "Start Backend",
"type": "node",
"request": "launch",
"args": [
"package",
"start"
],
"cwd": "${workspaceFolder}/packages/backend",
"program": "${workspaceFolder}/node_modules/.bin/backstage-cli",
"skipFiles": [
"<node_internals>/**"
],
"console": "integratedTerminal"
"name": "Start Backend",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "yarn",
"args": [
"start-backend",
"--inspect"
],
"skipFiles": [
"<node_internals>/**"
],
"console": "integratedTerminal"
},
```