How to run Dropwizard app in debug mode with Eclipse?

smeeb

I'm looking to run my Dropwizard 0.8.5 app in debug mode whereby:

  • The app is running locally, using JPDA; and
  • In my IDE (Eclipse) I set breakpoints and use a JPDA client to connect to my locally running app (I think this is how it goes)

For the server debug mode:

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?


For Eclipse/JPDA Client

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?

dkulkarni

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.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How can i know an application running in debug or run mode in eclipse

From Dev

How can i know an application running in debug or run mode in eclipse

From Dev

how to run hive in debug mode

From Dev

How to run the Wear app with handled app with out any signing? I mean developer debug mode

From Dev

qmake run command only in debug mode, how?

From Dev

How to exit debug mode in eclipse and clear earlier debug records

From Dev

How to debug app in compatibility mode on iOS 7?

From Dev

how to debug or run pytest scripts using eclipse?

From Dev

Debug mode for C in eclipse

From Dev

Run Boxstarter in "Debug" mode?

From Dev

Run Boxstarter in "Debug" mode?

From Dev

Run xcode in mode debug

From Dev

How do I run my flutter app in dart v2 mode in debug in VS Code (--preview-dart-2 option)

From Dev

How to run debug app version on a 'debug' Firebase database

From Dev

How to run debug app version on a 'debug' Firebase database

From Dev

How to debug Apache Storm in Local Cluster/Mode through eclipse

From Dev

Eclipse Java debug mode: how to get actual type of value?

From Dev

How can I hide interactive console in debug mode in PyDev Eclipse?

From Dev

Java with Eclipse: Debug mode enabled?

From Dev

How can I run gulp-nodemod in debug mode?

From Dev

How to run deja-dup in gtk and debug mode?

From Dev

Play app in prod mode, how to run

From Dev

How to run graphical app in background mode?

From Dev

Generate javascript if run [DEBUG] mode

From Dev

How to determine that my iOS app is running in DEBUG mode?

From Dev

How to debug the Android App in release mode using Android studio

From Dev

How to determine that my iOS app is running in DEBUG mode?

From Dev

How to run/debug java web service project in eclipse

From Dev

SharedPreferences, gets the value in debug mode but not in run mode

Related Related

  1. 1

    How can i know an application running in debug or run mode in eclipse

  2. 2

    How can i know an application running in debug or run mode in eclipse

  3. 3

    how to run hive in debug mode

  4. 4

    How to run the Wear app with handled app with out any signing? I mean developer debug mode

  5. 5

    qmake run command only in debug mode, how?

  6. 6

    How to exit debug mode in eclipse and clear earlier debug records

  7. 7

    How to debug app in compatibility mode on iOS 7?

  8. 8

    how to debug or run pytest scripts using eclipse?

  9. 9

    Debug mode for C in eclipse

  10. 10

    Run Boxstarter in "Debug" mode?

  11. 11

    Run Boxstarter in "Debug" mode?

  12. 12

    Run xcode in mode debug

  13. 13

    How do I run my flutter app in dart v2 mode in debug in VS Code (--preview-dart-2 option)

  14. 14

    How to run debug app version on a 'debug' Firebase database

  15. 15

    How to run debug app version on a 'debug' Firebase database

  16. 16

    How to debug Apache Storm in Local Cluster/Mode through eclipse

  17. 17

    Eclipse Java debug mode: how to get actual type of value?

  18. 18

    How can I hide interactive console in debug mode in PyDev Eclipse?

  19. 19

    Java with Eclipse: Debug mode enabled?

  20. 20

    How can I run gulp-nodemod in debug mode?

  21. 21

    How to run deja-dup in gtk and debug mode?

  22. 22

    Play app in prod mode, how to run

  23. 23

    How to run graphical app in background mode?

  24. 24

    Generate javascript if run [DEBUG] mode

  25. 25

    How to determine that my iOS app is running in DEBUG mode?

  26. 26

    How to debug the Android App in release mode using Android studio

  27. 27

    How to determine that my iOS app is running in DEBUG mode?

  28. 28

    How to run/debug java web service project in eclipse

  29. 29

    SharedPreferences, gets the value in debug mode but not in run mode

HotTag

Archive