debugging: add a separate start:debug-brk target

--inspect-brk is useful if you want to debug something during startup
This commit is contained in:
Jordi Gutiérrez Hermoso
2024-05-09 16:43:01 -04:00
committed by jordigh
parent 54257c2865
commit 088578f541
2 changed files with 3 additions and 2 deletions

View File

@@ -19,6 +19,6 @@ tsc --build -w --preserveWatchOutput $PROJECT &
css_files="app/client/**/*.css"
chokidar "${css_files}" -c "bash -O globstar -c 'cat ${css_files} > static/bundle.css'" &
webpack --config $WEBPACK_CONFIG --mode development --watch &
NODE_PATH=_build:_build/stubs:_build/ext nodemon ${NODE_INSPECT:+--inspect} --delay 1 -w _build/app/server -w _build/app/common _build/stubs/app/server/server.js &
NODE_PATH=_build:_build/stubs:_build/ext nodemon ${NODE_INSPECT} --delay 1 -w _build/app/server -w _build/app/common _build/stubs/app/server/server.js &
wait