Skip to content

Commit 0ec2357

Browse files
buldozer911larixer
authored andcommitted
Update Debugging.md (#1157)
debugging option changed
1 parent ddb6d30 commit 0ec2357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/Debugging.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Debugging NodeJS backend server
44

5-
To debug NodeJS backend server you should enable running NodeJS backend with `inspect` protocol enabled. This is done by modifying `packages/server/webpack.config.js` and adding `--inspect` option to `nodemon`: `onBuildEnd: ['nodemon --inspect build --watch false']`
5+
To debug NodeJS backend server you should enable running NodeJS backend with `inspect` protocol enabled. This is done by modifying `packages/server/webpack.config.js` and adding `--inspect` option to NodeHmrPlugin `cmd`: `--inspect {app}`. The {app} is replaced with actual path to the compiled bundle.
66

77
You are ready to debug your NodeJS server.
88

0 commit comments

Comments
 (0)