docs(vscode): update vscode debugger instructions for backend

Signed-off-by: Patrick Guppy <patrickguppy1@gmail.com>
This commit is contained in:
Patrick Guppy
2024-12-25 13:00:34 +08:00
parent f8e386f40d
commit afba634e9b
+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"
},
```