Hi all,

I followed this V8 documentation [1] to embed V8 into my application. The 
application compiles inputs to WebAssembly modules and executes them in 
embedded V8.  Now I would like to debug these WebAssembly modules.  
Searching online brought me to ChromeDevTools and the v8-inspector API.  I 
mostly followed this guide [2] to set up a `V8InspectorSession` and 
implemented the `V8Inspector::Channel` interface by creating a TCP server, 
waiting for a connection, and then in `sendResponse()` and 
`sendNotification()` I simply send the message over the TCP socket.

To debug, I launch chromium and connect to localhost on the port where the 
TCP server was created. Sadly, this doesn't work. The `sendResponse()` and 
`sendNotification()` methods are never invoked.

Can someone please point me to a tutorial or give me some guidance?

Thanks,
Immanuel

[1] https://v8.dev/docs/embed
[2] 
https://hyperandroid.com/2020/02/12/v8-inspector-from-an-embedder-standpoint/

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/c5d6468d-6396-45af-85a0-f29403967a25n%40googlegroups.com.

Reply via email to