I built a v8 binary for my platform (MacOS).

I could start a v8 shell by executing that binary and run arbitrary JS code.

bash-$ ./v8
v8> var foo = 42
v8> 42

What I want is to somehow use chrome devtools as the debugging front-end for this v8 instance, like how I can use devtools for remote-debugging another chrome instance.

To put simply, something like this

bash-$ ./v8 --remote-debugging-port=9222

0 Answers