Prerequisites Docker Visual Studio Code Python Extension Build Docker Image docker build -t python-module . Run Docker Container docker run -d -p 3000:3000 --name python-test python-module Launch Debugger Open PythonModuleDebug in VS Code. Set up Breakpoint and press F5. Known Bug The process would add one by one everytime restarting the debugger. See in: Issue in python VSCode and Issue in PTVS.