chore(docs): Update docs/tooling/local-dev/debugging.md to include new default start script
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com> Signed-off-by: Benedikt Scheffbuch <github@benediktscheffbuch.de>
This commit is contained in:
committed by
GitHub
parent
c4a47efe7a
commit
bfb84b7d03
@@ -63,7 +63,7 @@ In your `.vscode/launch.json`, add a new entry with the following,
|
||||
"request": "launch", // Indicates that the debugger should launch the application (as opposed to attaching to an already running process).
|
||||
"cwd": "${workspaceFolder}", // Sets the current working directory to the root of the workspace.
|
||||
"runtimeExecutable": "yarn", // Specifies the runtime to execute the application. In this case, it uses `yarn` to run the script.
|
||||
"args": ["dev", "--inspect"], // Arguments passed to the `yarn` command. Here, it runs `yarn dev` with the `--inspect` flag to enable debugging.
|
||||
"args": ["start", "--inspect"], // Arguments passed to the `yarn` command. Here, it runs `yarn start` with the `--inspect` flag to enable debugging.
|
||||
"skipFiles": ["<node_internals>/**"], // Tells the debugger to skip stepping into Node.js internal files during debugging.
|
||||
"console": "integratedTerminal" // Specifies that the debugger should use the integrated terminal for input/output.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user