using v8_inspector with embedded V8

45 views
Skip to first unread message

Harsha HS

unread,
Dec 15, 2016, 8:42:58 AM12/15/16
to v8-users
Hi,

 I have tried to understand v8_inspector using test-inspector code which implements protocol in protocol-test.js and unit tests in various js files in debugger and runtime directories.
If I have to attach the inspector to my sample V8 program which takes javascript file as an argument and debug it, is there any documentation or code that illustrate it?

Thanks,
-harsha

Ben Noordhuis

unread,
Dec 16, 2016, 3:10:12 AM12/16/16
to v8-users
You could look at the implementation in Node.js[0]. Start in
AgentImpl::Start() and follow the logic from there.

[0] https://github.com/nodejs/node/blob/v7.2.1/src/inspector_agent.cc
Reply all
Reply to author
Forward
0 new messages