![]() In the “Port:” field, just write “9999” as you set in the “bin/catalina.sh” file. Note that you only need to update the “Port:” field and the “Search sources using module’s classpath:” list, the “Command line arguments for running remote JVM” will be changed accordingly as you update the “Port” field and does not need manually update. Second, open IntelliJ IDEA community edition, go to “Run -> Edit Configurations”, click the “+” icon and select “Remote” from the list, then you will see a dialog like below: Note the “address=9999” means the network port number used by Tomcat for debugging. JAVA_OPTS= " $JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9999" # to enable IntelliJ IDEA Community Edition Debugging Feature with Tomcat. However, in IntelliJ IDEA community edition, how to do it?įirst, update your Tomcat starting script file “bin/catalina.sh”, add the following content right after the “JAVA_OPTS” comment: 1 IntelliJ IDEA professional edtion seems have the same function. In Eclipse EE edition, there is support to debugging web application with web container implementation like Tomcat. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |