mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
19 lines
406 B
Bash
Executable file
19 lines
406 B
Bash
Executable file
#!/bin/sh
|
|
|
|
hash node-inspector > /dev/null 2>&1 || {
|
|
echo "You need to install node-inspector to run the tests!" >&2
|
|
echo "You can install it with npm" >&2
|
|
echo "Run: npm install -g node-inspector" >&2
|
|
exit 1
|
|
}
|
|
|
|
node-inspector &
|
|
|
|
echo "If you new to node-inspector, take a look at this video: http://youtu.be/AOnK3NVnxL8"
|
|
|
|
if [ -d "../bin" ]; then
|
|
cd "../"
|
|
fi
|
|
|
|
cd "node"
|
|
node --debug server.js
|