0

Development environment is netbeans, java application, which runs javascript thru ScriptEngine in GraalVM. When using debug mode, it automatically force a debug session with Chrome when scriptengine starts.

console shows: Debugger listening on ws://127.0.0.1:9229/xxxxxxxxxx For help, see: https://www.graalvm.org/tools/chrome-debugger E.g. in Chrome open: devtools://devtools/bundled/js_app.html?ws=127.0.0.1:9229/xxxxxxxxxx

But the address xxxxx keep changing whenever I restart the debug session. I have to open chrome with the new address, because the javascript by default is paused and have to click continue in chrome for the program to continue.

Since I am not interested to debug the javascript side most of the time, is it possible to configure netbeans to avoid this chrome debugging session started ?

1 Answer 1

0

Problem fixed when removed this VMoption -Dpolyglot.inspect.Secure=false

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.