-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Environment and versions used
JS modules 1.2.0
Steps to reproduce
Enable debugging with the following GraphQL query:
mutation debugGraalVM {
admin {
jahia {
configuration(
pid: "org.jahia.modules.javascript.modules.engine.jsengine.GraalVMEngine"
) {
polyGlotInspect: value(name: "polyglot.inspect", value: "0.0.0.0:9229")
polyGlotInspectSuspend: value(name: "polyglot.inspect.Suspend", value:"false")
polyGlotInspectSecure: value(name: "polyglot.inspect.Secure", value:"false")
}
}
}
}Current Behavior
It fails with:
[org.jahia.modules.javascript.modules.engine.jsengine.GraalVMEngine(252)] : The activate method has thrown an exception
java.lang.IllegalArgumentException: Could not find option with name engine.inspect.Secure.
... suppressed 9 lines
at org.jahia.modules.javascript.modules.engine.jsengine.GraalVMEngine.activate(GraalVMEngine.java:127) ~[?:?]
... suppressed 2 lines
at java.base/java.lang.reflect.Method.invoke(Method.java:569) ~[?:?]
... suppressed 20 lines
at java.base/java.lang.Thread.run(Thread.java:840) [?:?]
Desired Behavior
the debug mode should be enabled for GraalVM
Initially reported by @hduchesne on Slack.
Metadata
Metadata
Assignees
Labels
No labels