var util = require('util');
console.log(util.inspect({ff:9}));
console.log('1');
debugger;
console.log('2');
debugger;
console.log('3');
debugger;
code is like above.
when i execute the command : node debug demo.js
result like this:
E:\workspace\web\node\koa-auth>node debug demo.js
< Debugger listening on port 5858
debug> . ok
break in E:\workspace\web\node\koa-auth\demo.js:1
> 1 var util = require('util');
2 console.log(util.inspect({ff:9}));
3 console.log('1');
debug> c
< { ff: 9 }
< 1
program terminated
program terminated
program terminated
program terminated
program terminated
program terminated
program terminated
program terminated
program terminated
debug> . failed, please retry
E:\workspace\web\node\koa-auth>
when i program without debug, it run well.
but it can not run with debug.
my node version is 4.2.6
my system is windows 8.1
please solve this problem. thx!