I'm looking to run my Dropwizard 0.8.5 app in debug mode whereby:
Typically my DW app runs from the command-line like so:
java -jar build/libs/myapp.jar server src/test/resources/myapp-local.yml
So what are the command-line args to get this running in debug mode (JPDA), or what are the modifications to myapp-local.yml
needed to accomplish this?
I assume I just set breakpoints and then create a new Debug Configuration inside Eclipse, but not sure what arguments/configs to set this Configuration up with. Any ideas?
Just run the main class (the one that extends Application<T>
) in debug mode. You will need to set the program parameters as "server src/test/resources/myapp-local.yml"
in your run configurations.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With