Merge pull request #28303 from pguppy/docs/vscode-debug
docs(vscode): update vscode debugger instructions for backend
This commit is contained in:
@@ -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"
|
||||
},
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user