2/17/2024 0 Comments For windows instal SEO Checker 7.4![]() option to open the Run/Debug Configurations dialog.Ĭlick the + sign in the upper left corner to add a new configuration and choose Remote from the dropdown menu. From the Run menu, choose Edit Configurations. We now need to set up a remote debugging configuration. Right before the "start", insert the word "jpda" and save the file.įor Windows your line will read: call "%EXECUTABLE%" jpda start %CMD_LINE_ARGS%įor all others your line will read: exec "$PRGDIR"/"$EXECUTABLE" jpda start gives you a great little startup script that enables remote debugging. On Windows that means copying startup.bat as debug.bat, on all others you copy startup.sh as debug.sh.Įdit your new debug script with your favorite text editor and, practically the last line of the file you'll find the EXECUTABLE start line (will vary based upon your platform). In your tomcat-8.0.32/bin directory, copy the startup script as debug. The downside to this approach is that there is zero support for hot deploy if you change code you have to do a build and deploy it for debugging to work.Ĭonfiguring Tomcat for debugging is really easy, but a quick script copy will make it even easier. Besides I use external Tomcats to test deployments, run demos, etc., so I use them for development also. I'd rather have it run as a separate JVM with it's own memory settings, etc. So I do not like running Tomcat within the IDE, it just feels wrong. ![]() I thought I'd share how I do it in case someone else is looking for a brief how-to. So I'm doing more and more development using pure Intellij for Liferay 7 / DXP, even debugging.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |