Mike Murr

Solving Technological Problems With Behavioral Science

Connect

  • Email
  • RSS
  • Twitter

Copyright © 2025 · Mike Murr · All Rights Reserved

Copyright © 2025 · MikeMurr Theme on Genesis Framework · WordPress · Log in

Home » Invoke the Python Debugger in One Line

Invoke the Python Debugger in One Line

June 23, 2014 by Mike Leave a Comment

Add the following snippet where you want to invoke the Python debugger:

import pdb;pdb.set_trace()

Filed Under: Code Tagged With: debugging, one liner, python

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *