How to use hotswap from within idea?


I'm running a java app built with maven (external, not built in in IDEA) and packaged as a jar file. Can I hotswap changes from IDEA? And how

Would it be any different if the application was deployed as a war-file in jBoss?


1 comment
Comment actions Permalink

1. Add the required JVM command line arguments to enable debug mode
2. Create a "Remote" run configuration (it's not really remote - it will be connecting to localhost), and start it
3. Go to Settings->Debugger->HotSwap to finetune HotSwap behavior

Debugging code inside JBoss should not change things, except the place where you configure the JVM arguments.



Please sign in to leave a comment.