Can I attach a remote debugger via eclipse/ij on an Jboss/WildFly to debug a rhino script?

77 views
Skip to first unread message

Gustavo Martins de Souza

unread,
Nov 24, 2016, 11:47:14 AM11/24/16
to mozilla-rhino
Can I attach a remote debugger via eclipse/ij on an WildFly to debug a rhino script?

I tried to just attach a Remote Mozzila Rhino via eclipse to 8787 and it fails on the handshake. 8080 8000 9999 also get Failed to parse String but don't give any viable message =( Am I fighting a lost fight? ;_;

Gregory Brail

unread,
Nov 29, 2016, 12:24:19 PM11/29/16
to mozill...@googlegroups.com
Sorry no one on the list answered this. I'm not sure if anyone has gotten remote Javascript debugging working with rhino. You can use instructions at the link below to run the debugger when you start your script, however:


On the other hand, if you are looking to debug the Java code, then it is the same as any other Java application, with all the various remote debugging options. I have done this many times with projects that have Rhino in them. However, the Java debuggers in IntelliJ, etc work with Java, not JavaScript -- if you want to remotely step through each individual liine of JavaScript (as opposed to each individual line of Java) then I'm afraid we don't have a way to do that.

On Thu, Nov 24, 2016 at 8:47 AM, Gustavo Martins de Souza <gusta...@gmail.com> wrote:
Can I attach a remote debugger via eclipse/ij on an WildFly to debug a rhino script?

I tried to just attach a Remote Mozzila Rhino via eclipse to 8787 and it fails on the handshake. 8080 8000 9999 also get Failed to parse String but don't give any viable message =( Am I fighting a lost fight? ;_;

--
You received this message because you are subscribed to the Google Groups "mozilla-rhino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mozilla-rhino+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages