One Man's Notes

Tuesday, September 1, 2015

Java -jar debug with -Xdebug

I had trouble attaching when running a jar via:
java -jar

Seems like all the param after -jar are parameters to it.
So I had to put the -Xdebug _before_ the -jar flag.

Posted by Solx at 1:54 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: java

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Links

  • Crusader Kings How To

Labels

.NET ant antrun apt AWS batch-windows bean c++ Chrome cmd cygwin debugging-native docker dynamodb FAQ fiddler Hibernate http http-debugging IIS Intellij-IDEA java jvm Linux Linux-installer linux-setup maven networking node.js postgreSQL python S3 socat spring SQL-Server ssh trick Ubuntu Ubuntu-installer vi vim VirtualBox Windows Windows-Administration

About Me

Solx
View my complete profile

Blog Archive

  • ►  2017 (14)
    • ►  December (1)
    • ►  October (1)
    • ►  September (1)
    • ►  June (3)
    • ►  April (1)
    • ►  March (5)
    • ►  February (1)
    • ►  January (1)
  • ►  2016 (21)
    • ►  November (1)
    • ►  October (1)
    • ►  June (1)
    • ►  May (2)
    • ►  April (3)
    • ►  March (3)
    • ►  February (4)
    • ►  January (6)
  • ▼  2015 (30)
    • ►  December (2)
    • ►  October (1)
    • ▼  September (4)
      • IIS cannot show files on Google Drive
      • Don't let environment values persist after a batch...
      • Fiddler FAQ
      • Java -jar debug with -Xdebug
    • ►  August (23)
Ethereal theme. Powered by Blogger.