Docker Community Forums

Share and learn in the Docker community.

Remote debugging with VSCode or Spyder


(Victoryc) #1

I have a Docker image containing python code. The image itself is provided by another team and I won’t be able to modify the image. Now, I want to run through that python code in a debugger such as VS Code or Spyder (No such debugger is part of the provided image). Is it possible to do this? If so, can someone please explain how?

Thanks!
P.S. I am a newbie to Docker. I did search online quite a bit about this. The responses I saw all required modifying the source python code, which is not possible in this case.