-
Notifications
You must be signed in to change notification settings - Fork 127
Is debugging supported? #11
Comments
You should be able to set the same JVM parameters on the command line when you call the Gradle task e.g.
In case that doesn't work let me know. My guess is that you actually want to have two tasks. One for running it normally, one for debugging. That is not supported yet and I'd have to look into. I will leave this ticket open until I have something that you can use. For now the command line parameters should work. |
Great point - I didn't think that through at all. Specifying those args on the command line is fine by me. I'm not going to close the ticket since you said you'd leave it open for now. But using cmd line args works for me. Thanks! |
I added a section about remote debugging to the FAQ in the README.md. |
Command line way doesn't work:
|
@artemik Minus capital X ( |
@bmuschko Well, but you wrote this in one line:
By the way, when you use set jvm options via I suggest you mention these points in the documentation. |
I was wrong. It happens. What you really wanted is a forked process that allows you to dedicatedly provide JVM arguments. At the moment the plugin does not provide a forked option. The embedded container runs in the same JVM as Gradle. Please see issue #58 for more details. I'd be happy to integrate a pull request. I am waiting for the community to provide it. All other questions you have are not necessarily related to this plugin. You'd have the same issue with any other plugin that doesn't work. I'd suggest you ask those questions on the Gradle forum. |
I don't quite understand. |
I typically launch a Tomcat instance for remote debugging using an Ant task like this:
Does the Tomcat plugin support remote debugging?
Cheers,
Jon
The text was updated successfully, but these errors were encountered: