Skip to content

Commit

Permalink
fixed syntax for running console
Browse files Browse the repository at this point in the history
added additional usage for time and server
  • Loading branch information
NeoPhi committed Apr 18, 2013
1 parent 959e575 commit daca9e0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion debugging/src/console.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/**
node src/console.log
node src/console.js
node src/console.js 2> /dev/null
node src/console.js 1> /dev/null
**/
var obj = {
a: 12,
Expand Down
6 changes: 6 additions & 0 deletions debugging/src/server.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
/**
# in seprate window
node-inspector
node --debug-brk src/server.js
// uncommnet debugger;
node --debug src/server.js
# in separate window
curl http://127.0.0.1:1337/
**/
var http = require('http');
var count = 0;
Expand Down
1 change: 1 addition & 0 deletions debugging/src/time.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**
node src/time.js
node --prof src/time.js
./node_modules/.bin/node-tick-processor | less
**/
Expand Down

0 comments on commit daca9e0

Please sign in to comment.