The problem is that spring-boot:run is going to launch another Java process for you application, so mvnDebug is attached to the first Maven process, not your application.
You will need to execute spring-boot:run passing the config to enable remote debugging: mvn spring-boot:run -pl your-project "-Dspring-boot.run.jvmArguments=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000" On Wednesday 31 January 2024 at 08:57:08 UTC-5 Frank Hossfeld wrote: > Hi, > > in case using the Ultimate Edition, and have the Spring Developers Plugin > installed, just select the Application file and click the green triangle. > > In both edition creating a Maven run configuration should also work. > > [image: rc-spring-boot.png] > > > Craig Mitchell schrieb am Mittwoch, 31. Januar 2024 um 13:00:43 UTC+1: > >> Hi, >> >> I'm able to debug the GWT client okay (in Chrome). However, debugging >> the SpringBoot server in IntelliJ isn't working. >> >> I already have the code server running, and then I start the server with: >> >> mvnDebug spring-boot:run -pl mywebapp-server -am >> >> The server then waits for the debugger to attach, so I start up a remote >> JVM debug in IntelliJ: >> >> [image: Screen.png] >> >> And it attaches to the server, which then triggers the server to continue >> its start. >> >> Everything is now up and running great. >> >> However, putting breakpoints in the server code in IntelliJ, the >> breakpoints never get hit. Any suggestions as to why? >> >> This might not be a GWT issue, so apologies if it isn't. >> >> Thanks. >> >> On Thursday 25 January 2024 at 5:55:48 pm UTC+11 Ralph Fiergolla wrote: >> >>> Finally! Thanks a lot! >>> >>> Thomas Broyer <[email protected]> schrieb am Mi. 24. Jan. 2024 um 19:57: >>> >>>> oh, and GWT 2.11 with Jakarta Servlet and Jetty 11; so requiring at >>>> least Java 11. >>>> >>>> On Wednesday, January 24, 2024 at 7:55:33 PM UTC+1 Thomas Broyer wrote: >>>> >>>>> I updated modular-webapp (and modular-requestfactory) to GWT 2.11 (in >>>>> version 2024.1.24) >>>>> >>>>> On Wednesday, January 24, 2024 at 10:58:45 AM UTC+1 >>>>> [email protected] wrote: >>>>> >>>>>> Ignore my post. Just realised the doco uses net.ltgt.gwt.archetypes >>>>>> and not the springboot com.github.nalukit.archetype. >>>>>> >>>>>> And thus, it's still on GWT 2.10.0, and not 2.11.0 with the jakarta >>>>>> stuff. >>>>>> >>>>>> On Wednesday 24 January 2024 at 8:39:07 pm UTC+11 Craig Mitchell >>>>>> wrote: >>>>>> >>>>>>> I was going to suggest the GWT doco gets updated to use this, but I >>>>>>> see you already have! >>>>>>> https://www.gwtproject.org/gettingstarted-v2.html >>>>>>> >>>>>>> Excellent stuff! 👍 >>>>>>> >>>>>>> On Tuesday 23 January 2024 at 11:05:48 pm UTC+11 Frank Hossfeld >>>>>>> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> both archetypes have been updated to the latest GWT (2.11.0) & >>>>>>>> Spring Boot version (3.2.2). >>>>>>>> Happy generating ... >>>>>>>> >>>>>>>> cu Frank >>>>>>>> Frank Hossfeld schrieb am Montag, 22. Januar 2024 um 14:29:41 UTC+1: >>>>>>>> >>>>>>>>> Hi Grayson, >>>>>>>>> >>>>>>>>> it's on my To-Do-list. I had to wait until GWT 2.11.0 is released. >>>>>>>>> I'll try to take a look today. >>>>>>>>> >>>>>>>>> cu Frank >>>>>>>>> >>>>>>>>> [email protected] schrieb am Montag, 22. Januar 2024 um 07:47:52 >>>>>>>>> UTC+1: >>>>>>>>> >>>>>>>>>> Hi Frank, >>>>>>>>>> >>>>>>>>>> Would you please also publish the new version for >>>>>>>>>> "modular-springboot-webapp" (the one that generates a gwt project >>>>>>>>>> with >>>>>>>>>> sample code)? The lastest verison of "modular-springboot-webapp" is >>>>>>>>>> still " >>>>>>>>>> 2022.9.14 >>>>>>>>>> <https://mvnrepository.com/artifact/com.github.nalukit.archetype/modular-springboot-webapp/2022.9.14>" >>>>>>>>>> >>>>>>>>>> which is more than a year old. >>>>>>>>>> >>>>>>>>>> Thanks, >>>>>>>>>> Grayson >>>>>>>>>> >>>>>>>>>> On Tuesday, January 2, 2024 at 4:46:30 PM UTC+7 Frank Hossfeld >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> Happy new year! I just released a new version of the >>>>>>>>>> https://github.com/NaluKit/gwt-maven-springboot-archetype. The >>>>>>>>>> clean-modular-springboot-webapp generates now a Spring Boot 3 (Java >>>>>>>>>> 17) >>>>>>>>>> with GWT 2.10.0 multi module project. Happy coding! >>>>>>>>>> >>>>>>>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "GWT Users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/google-web-toolkit/0c06d897-5654-49d8-871a-f10d8ea2d171n%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/google-web-toolkit/0c06d897-5654-49d8-871a-f10d8ea2d171n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/94cd2db2-31a7-448b-9ef3-7767a02941bfn%40googlegroups.com.
