Skip to content

Commit 77075df

Browse files
authored
Fix debug command for Node debugging
If you would run with `--inspect=true`, the following error would be thrown: [12:08:13] > node --inspect-brk=true TypeScript/node_modules/mocha/bin/_mocha -R scripts/failed-tests -O "reporter=mocha-fivemat-progress-reporter" -g "implementsJSDocReferencesDeclarationEmit" --colors -t 0 built/local/run.js Unable to resolve "true": unknown node or service
1 parent 611dd22 commit 77075df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,10 @@ You can specify which browser to use for debugging. Currently, Chrome and IE are
152152
gulp runtests-browser --tests=2dArrays --browser=chrome
153153
```
154154

155-
You can debug with VS Code or Node instead with `gulp runtests --inspect=true`:
155+
You can debug with VS Code or Node instead with `gulp runtests --inspect`:
156156

157157
```Shell
158-
gulp runtests --tests=2dArrays --inspect=true
158+
gulp runtests --tests=2dArrays --inspect
159159
```
160160

161161
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).

0 commit comments

Comments
 (0)