Skip to content

Commit

Permalink
Merge branch 'features_v3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
aacerox committed Feb 28, 2017
1 parent f696bd6 commit 7fb08da
Show file tree
Hide file tree
Showing 22 changed files with 2,468 additions and 773 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ node_modules
test/multiple-clients-test.js

test/manual-test.js

.DS_Store

.project
mocha-eclipse.js
2 changes: 2 additions & 0 deletions debug.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
start node-inspector
start mocha --debug-brk -R spec %1%
36 changes: 36 additions & 0 deletions debug.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/bin/sh
#set -x
# find existing web inspector


killprocess(){

echo ps -ef | awk "!/awk/ && /$1/ {print $2}"
#pid=`ps -ef | awk -v keyword=$1 "!/awk/ && /${keyword}/ {print $2}"`;
pid=`ps -ef | awk -v a=node-inspector '!/awk/ && /${a}/ {print $2}'`;
echo current $1 process is $pid;

if [ -n '$pid' ]
then
echo killing $1 process $pid;
#kill $pid;

else
echo $1 is not active;

fi
}




killprocess node-inspector
killprocess mocha

echo launching node-inspector
node-inspector &

echo launching test $1
mocha --debug-brk -R spec $1 &


Loading

0 comments on commit 7fb08da

Please sign in to comment.