Skip to content

Can I skip debugging of a script? #452

Answered by ClearScriptLib
MF91WorkPS asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @MF91WorkPS,

can I tell the V8ScriptEngine somehow to enable remote debugging only for the second script?

V8 provides no way to enable debugging support on a per-script basis.

If you specify V8ScriptEngineFlags.AwaitDebuggerAndPauseOnStart, ClearScript will wait for a debugger connection the first time you execute a script. There's currently no way to alter that behavior.

However, being able to run "system" scripts before waiting for a debugger connection is something several users have asked for. We'll look into that for a future release.

Thanks!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@MF91WorkPS
Comment options

Answer selected by MF91WorkPS
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants