PROGRAM WITH REMOTE DEBUGGER: import time from celery.contrib import rdb while(True): time.sleep(1) rbd.set_trace() a = 1 + 3 On your linux box: telnet localhost 6899 where 6899 is the port that rdb printed out when set_trace was reached.