mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-28 17:57:48 +02:00
misc: update debug config for Docusaurus v2 in VS Code (#2775)
Adding instructions that work to debug docusaurus locally
This commit is contained in:
parent
e6cdeba603
commit
b6b108e5b1
1 changed files with 2 additions and 3 deletions
|
@ -30,9 +30,8 @@ Use the following code in VSCode to enable breakpoints. Please ensure you have a
|
|||
"type": "node",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}/website",
|
||||
"runtimeExecutable": "npm",
|
||||
"runtimeArgs": ["run", "start-debug"],
|
||||
"port": 9229
|
||||
"program": "${workspaceFolder}/website/node_modules/@docusaurus/core/bin/docusaurus.js",
|
||||
"args": ["start"],
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue