Ok. That was a dumb question. In order to connect CDT to a program 
embedding V8, that program first has to implement the back-end WebSocket.
Doing that with d8 at a starting point seems a bad idea.

Le lundi 8 avril 2019 13:23:18 UTC+2, DaManuell a écrit :
>
> I successfully built d8.exe from sources
>
> I made a simple JavaScrit file called test.js:
>
> function test( obj ) {
>   return obj.prop + obj.prop;
> }
>
> I ran d8.exe with the command line bellow:
>
> d8 --enable-inspector --shell test.js
>
> I am able to call my test function from the d8 shell interface:
>
> V8 version 7.5.0 (candidate)
> d8> test( { prop:'a'} )
> "aa"
> d8> test( { prop:'ab'} )
> "abab"
> d8>
>
> Can I, and if so, how, debug test.js from the Chrome Dev Tools?
>

-- 
-- 
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.

Reply via email to