wiki:DebuggingBuildbotWithPDB

How to debug Buildbot

Run buildbot with 'twistd -b -y buildbot.tac' and add pdb.set_trace() where you want to drop into the debugger.

See  Twisted ticket:5469