We are debugging java webapps and want to use the jetty-maven plugin to start the Jetty server. All the documentation I saw suggests that you should do this from the command line, which makes debugging and setting breakpoints difficult in Eclipse. In addition, I would like to see the result in the console window and be able to stop the process using the red button. And do the profiling as well.
Does anyone know how to do this?
Yes, if you have m2eclipse installed, just enter "jetty: run" as the target you want to run.
However, you can connect the Eclipse debugger (or any IDE) to the running Jetty instance by running
Source: https://habr.com/ru/post/1346298/More articles:SPARQL query with COUNT and ORDER returns an odd result - semantic-webMemoryMappedFiles: how much memory can be allocated for files - memory-managementAre settings saved in Visual Studio 2010 using the solution or using the IDE? - visual-studio-2010Differences in Java WebStart resolution between XP and Vista / Windows 7 - javatimer in thread with pthread in C? - cHow to make a Ruby file executable as executable? - windowsExplanation needed to return boolean methods - javajavascript overlay does not cover a full page when a div extends page height - javascriptspring ACL - the main / SID is not as a user, but another object - springUsing .NET Objects in Excel - .netAll Articles