Skip to content

Instantly share code, notes, and snippets.

@kcwill2
Last active August 29, 2015 14:08
Show Gist options
  • Save kcwill2/06c0f23b6b5e9219f0aa to your computer and use it in GitHub Desktop.
Save kcwill2/06c0f23b6b5e9219f0aa to your computer and use it in GitHub Desktop.
JVM Attach debugger to remote or local application
VM Options using Windows shared memory for local-attach:
-agentlib:jdwp=transport=dt_shmem,server=y,suspend=n,address=javadebug
or using sockets for remote attach
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment