You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.
Steffen,
In your excellent plugin&docs you suggest that one could run dev mode with the below options but has to wait until the IDE attaches to the dev process on the debug port:
./gradlew -DgwtDev.debug=true ....
How can one, however, run in debug mode with these JVM setting instead:
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
The difference is that with this dev mode will launch and not wait, the developer is free to attach /detach debugger to it at will. Also, how can one specify different port than 5005?
Thanks.
The text was updated successfully, but these errors were encountered:
The plugin simply uses Gradle's debugging functionality. The port and suspension is hard-coded somewhere in Gradle. I son't know where and I don't know how to change this.
To manually configure the parameter as specified above do something like this:
The plugin simply uses Gradle's debugging functionality. The port and
suspension is hard-coded somewhere in Gradle. I son't know where and I
don't know how to change this.
To manually configure the parameter as specified above do something like
this:
Steffen, looks like your solution doesn't work.
I tried to use it but I get
:gwtDev
Error occurred during initialization of VM
agent library failed to init: jdwp
ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options.
:gwtDev FAILED
And when I tried to configure the same port to run Gradle itself, I got the following:
:gwtDevERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options.
Error occurred during initialization of VM
agent library failed to init: jdwp
:gwtDev FAILED
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Steffen,
In your excellent plugin&docs you suggest that one could run dev mode with the below options but has to wait until the IDE attaches to the dev process on the debug port:
./gradlew -DgwtDev.debug=true ....
How can one, however, run in debug mode with these JVM setting instead:
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
The difference is that with this dev mode will launch and not wait, the developer is free to attach /detach debugger to it at will. Also, how can one specify different port than 5005?
Thanks.
The text was updated successfully, but these errors were encountered: