[PR #674] fix(react-express-mysql): move --inspect flag before filename in start-watch #1254

Open
opened 2026-03-07 21:31:22 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/docker/awesome-compose/pull/674

State: open
Merged: No


nodemon was passing --inspect=0.0.0.0:9229 as an argument to the script rather than as a Node.js flag, because it appeared after the filename. This prevented the Node.js debugger from listening on port 9229, making the exposed debug ports non-functional.

Moving the flag before the filename ensures nodemon correctly passes it to Node.js, enabling debugger attachment on port 9229 as intended.

Signed-off-by: Bella Le hello@bella-le.com

**Original Pull Request:** https://github.com/docker/awesome-compose/pull/674 **State:** open **Merged:** No --- nodemon was passing --inspect=0.0.0.0:9229 as an argument to the script rather than as a Node.js flag, because it appeared after the filename. This prevented the Node.js debugger from listening on port 9229, making the exposed debug ports non-functional. Moving the flag before the filename ensures nodemon correctly passes it to Node.js, enabling debugger attachment on port 9229 as intended. Signed-off-by: Bella Le <hello@bella-le.com>
GiteaMirror added the pull-request label 2026-03-07 21:31:22 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-compose#1254