caoccao / Javet

Javet is Java + V8 (JAVa + V + EighT). It is an awesome way of embedding Node.js and V8 in Java.
https://www.caoccao.com/Javet/
Apache License 2.0
693 stars 66 forks source link

Demo for debugging in Inspector #110

Open hyec opened 2 years ago

hyec commented 2 years ago

I want to debug JS code, create breakpoints, watch variables and call stack. First load scripts first and call it from Console manually or throught backend program periodically. When hits the breakpoint, execution should suspend and make it possble for user to debug.

V8Inspector meets my demands, but when I try the CDTShell demo in the tutorial. JS scripts submit in Java didn't show up in Source panel. Could you please create a more complex demo for CDT and remote debug.

caoccao commented 2 years ago

Understood. I'll look into it later.