Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Debugging with node-inspector

0
0
There is a node.js package called node-inspector to debug node applications.

https://www.npmjs.com/package/node-inspector

I tried using it to debug my V8 scripts on ClearScript but could not succeed.

I start node-inspector using the following command:

node-inspector -d 9222

I initialize my V8 engine with the following VB code:

Dim engine As V8ScriptEngine = New V8ScriptEngine("global", V8ScriptEngineFlags.EnableDebugging, 9222)

I have "debugger;" statement in my Javascript source code.

However when I execute the script it does not break at "debugger" statements.

Can you please test this application for debugging ClearScript?

Viewing all articles
Browse latest Browse all 2297