How to Run and Debug Java Inside Docker Containers Using VSCode

preview_player
Показать описание
#SoftwareEngineering #Java #Docker
Tired of Java update prompts and managing versions locally?
Watch this video to find out how to use VSCode Dev Containers to Run and Debug your Java code without having to have Java installed on your computer!
-------------------------------------------------------------------------------------
📰 *Sign up for my newsletter*

☕*Buy me a coffee*

🖥️ *Free Courses to Learn Programming*

🛒 *Products I recommend*

*Connect with me*

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

You may not see the Dockerfile and the container configuration may only be in the devcontainer.json. As long as you can see "Dev Container: Java" at the bottom left corner, you should be good to go

codevev
Автор

I tried to follow these steps, but I don't see any output in Terminal. There is something working or generating but I don't see anything.

I'm using VSCode 1.75.1 on Mac Ventura with Java17. Any suggestions?

More importantly ... how to I take an existing VSCode Spring Boot Java app and dockerize it? Thx!

RobMitchell