Tomcat , Intellij and DCEVM configuration

1.5k Views Asked by At

I had configured DCEVM on intellij, but I think the way I did it is wrong as when I made some change in the java file and ctrl + shift + f9, the tomcat is getting restarted. Can someone please tell me the correct way to configure it.

1

There are 1 best solutions below

0
On

In intellij tomcat debug configuration, add the following parameters to your JVM arguments like this :

-XXaltjvm=dcevm -javaagent:/home/depellegrin/Applications/hotswap-agent.jar=autoHotswap=true

change /home/depellegrin/Application/ by your DCEVM-light-...-installer.jar path. For more information take a look at this blog