Debugging Python within Docker Often you need to run debugger within docker. It many cases it looks like this: import pdb; pdb.set_trace() Or: