intellij debugger does not recognize code changes

991 views Asked by At

I am debugging java class of web application. When I change a string or add simple code line like printing string in the console (System.out.print.n("changes") these changes have no affect. also when I click str+shift+f9. Even when I restart wildfly server I still can not see my changes.

Only when when I delete target and clean install my project and start wildfly then my chnages have affect.

hotswap is configured like this enter image description here

I am using exploded artifact configuration in customized standalone-full-myproject.xml file:

 <deployment name="myproject.war" runtime-name="myproject.war">
            <fs-exploded path="C:\work\workspace\project-parent\project-backend\resources\system\..\..\..\project-frontend\target\war"/>
        </deployment>

and run it from the idea like this: enter image description here

startup/connection tab: enter image description here

Deployment tab enter image description here Any Idea?

thank you

0

There are 0 answers