node.js - New Node V8 Inspector not logging to console on Windows PC -
on windows pc have latest version of node 6.9.1 has v8 inspector built in. when use --inspect flag run app.js file , go "chrome-devtools" url attach debugger, works fine (i can set breakpoints , step through code) console.log code doesn't print chrome console. checked console filter, set all. prints console window ran app, not chrome.
i have windows server 2008 r2. dont have issue on macbook, logs chrome console fine. hoping check if have working on windows computer or if else has run issue. maybe server 2008 r2 issue?
it easy test. create app.js file 1 line "console.log('test')", open command prompt or git bash or whatever in folder , type:
node --inspect --debug-brk app.js
it give chrome-devtools url. go url in chrome , see app. script execution stopped (due -brk flag) have resume it. if have same issue me, notice when resume it, nothing logged console.
Comments
Post a Comment