mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 06:29:53 +01:00
8b28e00784
This is a follow-up to commit
2ea8ea1275
.
19 lines
735 B
Bash
Executable file
19 lines
735 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Move to the Etherpad base directory.
|
|
MY_DIR=$(cd "${0%/*}" && pwd -P) || exit 1
|
|
cd "${MY_DIR}/../.." || exit 1
|
|
|
|
# Source constants and useful functions
|
|
. src/bin/functions.sh
|
|
|
|
# Prepare the environment
|
|
src/bin/installDeps.sh || exit 1
|
|
|
|
echo "If you are new to debugging Node.js with Chrome DevTools, take a look at this page:"
|
|
echo "https://medium.com/@paul_irish/debugging-node-js-nightlies-with-chrome-devtools-7c4a1b95ae27"
|
|
echo "Open 'chrome://inspect' on Chrome to start debugging."
|
|
|
|
# Use 0.0.0.0 to allow external connections to the debugger
|
|
# (ex: running Etherpad on a docker container). Use default port # (9229)
|
|
node $(compute_node_args) --inspect=0.0.0.0:9229 node_modules/ep_etherpad-lite/node/server.js "$@"
|