misc: update debug config for Docusaurus v2 in VS Code (#2775)

Adding instructions that work to debug docusaurus locally
This commit is contained in:
James McShane 2020-05-21 22:27:47 -05:00 committed by GitHub
parent e6cdeba603
commit b6b108e5b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"],
}
]
}