How to deal with reconnecting to v8-inspector?

9 views
Skip to first unread message

Zac Hansen

unread,
Apr 3, 2017, 3:46:47 AM4/3/17
to v8-users
I've hooked in v8-inspector to websockets using websocketspp and have it working pretty well initially, but I can't figure out how to make it work if I hit refresh in chrome to have the debugger re-attach.

Most of the messages are sent through, but the one that seems to be missing that seems important is:

{"method":"Runtime.executionContextCreated","params":{"context":{"id":1,"origin":"","name":""}}}

What do I need to do to "reset" the system?



Reply all
Reply to author
Forward
0 new messages