Skip to content

Bridge between v8 debugging protocol and Chrome Remote Debugging Protocol

License

Notifications You must be signed in to change notification settings

pavelfeldman/node-devtools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to demo

Install

$ npm install optimist --save-deps
$ npm install ws --save-deps
$ npm install es6-promise --save-deps

Run target script in node

$ node --debug example/myscript.js

Start debug bridge that listens on port 9800

$ node server.js

Debug

Point Chrome Canary to chrome-devtools://devtools/bundled/devtools.html?ws=localhost:9800/localhost:5858 to start debugging.

Steps to demo:

  • Go to Sources panel
  • Press Cmd(Ctrl)+P to go to file, type myscript.js
  • Set a breakpoint at line 10
  • When stopped in the debugger, explore the stack to the right
  • In console evaluate a, b and foo
  • Continue execution

About

Bridge between v8 debugging protocol and Chrome Remote Debugging Protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published