Skip to content

Commit 54a0bed

Browse files
committed
Update debug script
1 parent 18b6975 commit 54a0bed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ $ npm run watch
276276
$ npm run debug
277277
```
278278

279-
If you use tool like Webstorm or any JetBrains product to debug, you need add another option to `scripts/debug` to prevent
280-
using default browser to debug. Example: `node-debug -p 9999 -b -c prod-server.js`
279+
If you use tool like Webstorm or any JetBrains product to debug, you need add `-c` option to `scripts/debug.sh` to prevent
280+
using default browser to debug. Example: `node-debug -p 9999 -b -c prod-server.js`.
281281

282282
## Enable flowtype in development
283283
```bash

scripts/debug.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ if [ -z "${SERVER_RENDERING}" ]; then
2323
export SERVER_RENDERING=${6:-0}
2424
fi
2525

26-
node-debug -p 9999 -b -c prod-server.js
26+
node-debug -p 9999 -b prod-server.js

0 commit comments

Comments
 (0)