Fixed scripts in bin folder (#6163)

This commit is contained in:
SamTV12345 2024-02-17 16:21:16 +01:00 committed by GitHub
parent 03c8518e66
commit 47f0113fd7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 6 deletions

View file

@ -14,6 +14,7 @@ echo "If you are new to debugging Node.js with Chrome DevTools, take a look at t
echo "https://medium.com/@paul_irish/debugging-node-js-nightlies-with-chrome-devtools-7c4a1b95ae27"
echo "Open 'chrome://inspect' on Chrome to start debugging."
cd src
# Use 0.0.0.0 to allow external connections to the debugger
# (ex: running Etherpad on a docker container). Use default port # (9229)
exec node --inspect=0.0.0.0:9229 src/node/server.js "$@"
exec node --import tsx --inspect=0.0.0.0:9229 ./node/server.ts "$@"