mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-02 11:47:23 +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",
|
"type": "node",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"cwd": "${workspaceFolder}/website",
|
"cwd": "${workspaceFolder}/website",
|
||||||
"runtimeExecutable": "npm",
|
"program": "${workspaceFolder}/website/node_modules/@docusaurus/core/bin/docusaurus.js",
|
||||||
"runtimeArgs": ["run", "start-debug"],
|
"args": ["start"],
|
||||||
"port": 9229
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue