I had some success getting debugging to work by building off of this repo: https://github.com/hsharsha/v8inspector although I didn't test much beyond adding break points.
On Thursday, April 25, 2019 at 6:10:06 AM UTC-7, Konrad Piascik wrote: > > See this topic > https://groups.google.com/d/topic/v8-users/L8rq6zbviHg/discussion It > might be useful. Also this article > https://medium.com/@hyperandroid/v8-inspector-from-an-embedder-standpoint-7f9c0472e2b7 > and > finally this GitHub might be useful. > https://github.com/SoylentGraham/V8InspectorMinimal > > > On Thursday, April 25, 2019 at 5:15:00 AM UTC-4, Ben Noordhuis wrote: >> >> On Wed, Apr 17, 2019 at 4:41 PM Al Mo <almo...@gmail.com> wrote: >> > Hi all, >> > >> > I have my C++ application running v8 smoothly ;D, I also have some >> support for websockets (using libwebsockets), so I'm wondering ... >> > >> > How hard it is to setup debugging in a similar way to how node.js is >> doing it? This, so that I'm able to work with Chrome's Dev Tools. >> > >> > Any pointers on how to start with this? Haven't found much on the web. >> >> Not that I want to discourage you but it's quite a bit of work. >> >> Someone from Google wrote the Node.js implementation. I reviewed it >> and it was split across numerous pull requests containing thousands of >> lines of code in total. >> >> Maybe it helps that you have websocket support already although that >> wasn't the most complicated part of the Node.js implementation. >> >> If you have specific questions, I'll be happy to answer them. >> > -- -- 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. For more options, visit https://groups.google.com/d/optout.