Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

New Post: Debug js code running in pure v8

$
0
0
Hi all,

I have a custom (native, c++) application which embeds v8 and executes some js scripts.
As I've read that NTVS uses the native v8 debug protocol, I was wondering if it's possible to use it to debug the js code I run in my app through the embedded v8 engine.
To set things up, what I have in mind is:
  • enable v8 debugging in my application as explained on v8 documentation
  • load the js files I use in my application into a NTVS project
  • run my application locally and attach the NTVS debugger in "Local Attach" mode as described here, specifing my executable with debugging on, instead of node.exe
Any chance this is going to work?
I simply don't know if there are any node-specific mechanism needed by NTVS for the debugger to work.

Thank you in advance,
ricky

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>