Debugging a Java Web App using Tomcat & VS Code

Debugging a Java Web App using Tomcat & VS Code

Brandon Donnelson

4 года назад

46,092 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

sbsalil
sbsalil - 10.07.2023 16:04

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.

Ответить
Mark Stouffer
Mark Stouffer - 30.06.2023 21:09

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.

Ответить
anickalerner
anickalerner - 02.05.2023 16:24

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!

Ответить
王宇航
王宇航 - 21.08.2022 16:51

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)

Ответить
தேவிப்ரியா குமாரன்
தேவிப்ரியா குமாரன் - 21.04.2022 17:32

Exactly what i needed for my research 😊

Ответить
Sumit Chugh
Sumit Chugh - 30.03.2022 19:10

how to make changes in index.jsp files without deleting again and again war files and then regenrate it

Ответить
Not Ashamed
Not Ashamed - 15.03.2022 16:28

Exactly what I needed! Thanks so much for making this video!

Ответить
Data camp
Data camp - 02.03.2022 03:05

Is there a playlist where one can learn to program with JAVA and Visual Studio Code?

Ответить
Patrick Bateman
Patrick Bateman - 25.01.2022 14:04

where is the github link

Ответить
Sarman Coder
Sarman Coder - 27.09.2021 19:59

I dont have the hot code reload button... :(

Ответить
Tarek Faham
Tarek Faham - 18.09.2021 08:01

Fantastic... How to debug the Java web application running on a remote Tomcat server not running locally?

Ответить
Rudy Pacheco
Rudy Pacheco - 14.08.2021 02:08

an alert tells me Cannot find any changed classes for hot replace! anyone know what it could be?

Ответить
manoj tewari
manoj tewari - 11.07.2021 16:17

if u change in jsp file hot code replace is not working

Ответить
manoj tewari
manoj tewari - 11.07.2021 02:24

sir "hot code replace " icon is not appearing in my vs code. Other icons are appearing. Can you tell the reason...

Ответить
Lubabalo Matyila
Lubabalo Matyila - 01.07.2021 16:54

But how do we get the tomcat server part. Is it an extension? because I cant see it. This is not elaborate at all

Ответить
zq hou
zq hou - 25.06.2021 13:32

Thank you so much and your voice is very magnetic

Ответить
Andre Luiz
Andre Luiz - 28.03.2021 01:27

bravo!

Ответить
zurik Zava
zurik Zava - 20.03.2021 23:23

The "plus" icon doesn't do anything for me, anyone have that issue?

Ответить
Abcd Abcd
Abcd Abcd - 18.03.2021 08:50

Thank you so much for such a great tutorial.

Ответить