add python debugger code