Hi.

I have an example project how to use V8 inspector API: 
https://github.com/ahmadov/v8_inspector_example. Hope this would help.

Best regards

On Wednesday, August 19, 2020 at 10:11:00 AM UTC+2, Immanuel Haffner wrote:
>
> 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/fe6d744a-7407-447b-9a98-d8112f768a18o%40googlegroups.com.

Reply via email to