Debug Python inside Docker using debugpy and VSCode

preview_player
Показать описание
We will debug python inside docker using debugpy and VSCode
#python #debugpy #vscode #docker #linux #debugging
#python3 #programming #code #commandline #visualstudiocode #breakpoint #breakpoints
Рекомендации по теме
Комментарии
Автор

thanks for your video! it was helpful, except I thought there was no audio at all for the first 5 minutes..!

linzlinz
Автор

When you do debugpy without container, must you still use the remote attach launch.json config? What happens to the pathMappings, are they unused? I see another type of template config "Python: Attach using Process Id" also has request:attach, how to choose the right one?

Han-veuh
Автор

thanks for your interesting video. is there a way to bring vs code into listen mode and connect to it from the cmdline script? this is the way I was used to work with when remote debugging PHP with xdebug. Cause if I want to debug something like "cat myfile | python-script-1.py | python-script-2.py" and want to debug both scripts, I have no idea how to do this.

uwegenosdude
welcome to shbcf.ru