etherpad-lite/bin/runDebug.sh
Peter 'Pita' Martischka 7f851b6376 Add a runDebug Script
2011-03-28 13:27:09 +01:00

15 lines
364 B
Bash
Executable file

#!/bin/bash
type -P node-inspector &>/dev/null || {
echo "You need to install node-inspector to run the tests!" >&2
echo "You can install it with npm" >&2
echo "Run: npm install node-inspector" >&2
exit 1
}
node-inspector &
echo "If you new to node-inspector, take a look at this video: http://youtu.be/AOnK3NVnxL8"
cd ../node
node --debug server.js