From 7f851b63763828ddecf8010f10bcf3e03a173bff Mon Sep 17 00:00:00 2001 From: Peter 'Pita' Martischka Date: Mon, 28 Mar 2011 13:27:09 +0100 Subject: [PATCH] Add a runDebug Script --- bin/runDebug.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 bin/runDebug.sh diff --git a/bin/runDebug.sh b/bin/runDebug.sh new file mode 100755 index 000000000..24630011d --- /dev/null +++ b/bin/runDebug.sh @@ -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