Merge pull request #38660 from TimvdLippe/patch-4

Fix debug command for Node debugging
This commit is contained in:
Nathan Shively-Sanders 2020-05-19 13:18:03 -07:00 committed by GitHub
commit f7007174f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,10 +152,10 @@ You can specify which browser to use for debugging. Currently, Chrome and IE are
gulp runtests-browser --tests=2dArrays --browser=chrome
```
You can debug with VS Code or Node instead with `gulp runtests --inspect=true`:
You can debug with VS Code or Node instead with `gulp runtests --inspect`:
```Shell
gulp runtests --tests=2dArrays --inspect=true
gulp runtests --tests=2dArrays --inspect
```
You can also use the [provided VS Code launch configuration](./.vscode/launch.template.json) to launch a debug session for an open test file. Rename the file 'launch.json', open the test file of interest, and launch the debugger from the debug panel (or press F5).