mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Add a runDebug Script
This commit is contained in:
parent
328e7f1aa4
commit
7f851b6376
1 changed files with 15 additions and 0 deletions
15
bin/runDebug.sh
Executable file
15
bin/runDebug.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/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
|
Loading…
Reference in a new issue