Run and Debug Java Web Application in Jetty Server using VS Code

preview_player
Показать описание
In case you have liked this video request you subscribe to this channel .
Please also share your thoughts in case you want any videos on any other topic(s).
You can find my Udemy courses in the following links :

Рекомендации по теме
Комментарии
Автор

If you're using jetty-maven-plugin and you're running your app with mvn jetty:run, then in order to debug your webapp you need to do: Run -> Add configuration -> (intelliSense allows you to auto-generate) 'java Attach' -> replace Port with 8000. Now in built-in terminal execute 'mvnDebug jetty:run', it will start to listen. Next, Ctrl+Shift+D to open Run and Debug tab -> (at the top) choose 'Attach' goal and press green 'Play' next to it.

Gett