first serve folder on 9966
http-server -p 9966
then open remote debugging chrome:
/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary http://localhost:9966/ --remote-debugging-port=9222
then run debugger
node debugger.js
and reload page in Chrome (without opening dev tools). Output:
Debugger enabled
got script ID 43
Err with setScriptSource 43 Uncaught Script not found
{ scriptSource: 'document.body.style.background = \'blue\'' }
On Chrome Canary 42.0.2303.0.
Same problem with Chrome 40.0.2214.111.
OSX Yosemite 10.10.1