Hey @Brandon, Thanks so much for publishing this helpful in-depth video tutorial. This turned out to be EXACTLY something I was looking for! 🙏 Specially this is really useful for those who face problems running a Java project in other IDEs such as STS. I am also trying to find out now to debug the front end alongside the back end while the application is running in the same browser window which launched upon starting the web app. I have done this for several other Node JS apps which output a front end application (mostly ReactJS); But in this case I think the scenario changes since the Java webapp is running on one port and front end code is just output as response. So far only what I could do is to depend on Chrome DevTools by adding debug points on the loaded JS files from the Sources tab. Please suggest if you have any idea.
Thank you very much, Brandon, for this video. It helped a lot. However, I'm having a hard time watching variables in the debug mode. As a value for the variables I get "Cannot evaluate because of java.lang.IllegalStateException: Project [*] cannot be found..". Other debug features work fine: break points hit and step-ins work. What am I missing here? Thanks!
Thanks for your video, I'm noob with vscode and I would like to know what extensions you recommend to install on, you know, for getting a good start coding and debugging like you do?
Thanks for your video! But how can I update html page?following your steps,I can update java file,but I can’t update html page.if I want to update html page,I have to run war:exploded again and restart tomcat server or publish server(full).how can I update html file with one step in vscode like idea do.(my English is not good,wish you can understand what I’m saying)
I am using maven project using the frame work struts2 having this error on debug mode.. "Cannot find a class with the main method in the folder " may be am missing something.. i cant find the class main method if it had one..
When ever I get this error, the classes don't exist in the web app folder. With Maven you have to point to the target web app directory. Or if it is, the classes aren't being built and put in the target/[web app name]/WEB-INF/classes directory. I've found it takes some time to line up the pieces, but once you get the classes in the web app directory that's being run it should work fine.
@@BrandonDonnelson thanks i have coorected the problem forgot to comment but your video help me a lot.. Months and was not able to debug a maven project in vs code.. Your video help a lot thanks
The link is: github.com/branflake2267/debugging-java-webapp
Exactly what i needed for my research 😊
enaku doubt irku konja help pana mudiyuma?
Exactly what I needed! Thanks so much for making this video!
Fantastic... How to debug the Java web application running on a remote Tomcat server not running locally?
Thank you so much and your voice is very magnetic
Thank you so much for such a great tutorial.
But how do we get the tomcat server part. Is it an extension? because I cant see it. This is not elaborate at all
Hey @Brandon, Thanks so much for publishing this helpful in-depth video tutorial. This turned out to be EXACTLY something I was looking for! 🙏 Specially this is really useful for those who face problems running a Java project in other IDEs such as STS. I am also trying to find out now to debug the front end alongside the back end while the application is running in the same browser window which launched upon starting the web app. I have done this for several other Node JS apps which output a front end application (mostly ReactJS); But in this case I think the scenario changes since the Java webapp is running on one port and front end code is just output as response. So far only what I could do is to depend on Chrome DevTools by adding debug points on the loaded JS files from the Sources tab. Please suggest if you have any idea.
I think you don't mention the extension that you're using throughout. Looking on your project page, I can see you're using an expired extension.
Thank you very much, Brandon, for this video. It helped a lot. However, I'm having a hard time watching variables in the debug mode. As a value for the variables I get "Cannot evaluate because of java.lang.IllegalStateException: Project [*] cannot be found..". Other debug features work fine: break points hit and step-ins work. What am I missing here? Thanks!
Is there a playlist where one can learn to program with JAVA and Visual Studio Code?
Thank you very much! It helped a lot!
an alert tells me Cannot find any changed classes for hot replace! anyone know what it could be?
Thanks for your video, I'm noob with vscode and I would like to know what extensions you recommend to install on, you know, for getting a good start coding and debugging like you do?
if u change in jsp file hot code replace is not working
Thanks for your video! But how can I update html page?following your steps,I can update java file,but I can’t update html page.if I want to update html page,I have to run war:exploded again and restart tomcat server or publish server(full).how can I update html file with one step in vscode like idea do.(my English is not good,wish you can understand what I’m saying)
The "plus" icon doesn't do anything for me, anyone have that issue?
how to make changes in index.jsp files without deleting again and again war files and then regenrate it
I also have this problem too.do you know how to update html with one step now?
Same
there is no github link in description
github.com/branflake2267/debugging-java-webapp
sir "hot code replace " icon is not appearing in my vs code. Other icons are appearing. Can you tell the reason...
try changing the settings java.debug.settings.hotCodeReplace to manual (default)
bravo!
I am using maven project using the frame work struts2
having this error on debug mode..
"Cannot find a class with the main method in the folder "
may be am missing something.. i cant find the class main method if it had one..
feel free to correct me newbie here
When ever I get this error, the classes don't exist in the web app folder. With Maven you have to point to the target web app directory. Or if it is, the classes aren't being built and put in the target/[web app name]/WEB-INF/classes directory. I've found it takes some time to line up the pieces, but once you get the classes in the web app directory that's being run it should work fine.
@@BrandonDonnelson thanks i have coorected the problem forgot to comment but your video help me a lot..
Months and was not able to debug a maven project in vs code..
Your video help a lot thanks
😊👍🏻👍🏻👍🏻