Jupyter visual python debugger

I want to share my experience with “pixiedust debugger”:

This tool saved my day a lot of times!
To use it you need only two lines of code:

  1. Import the module in one cell (alone):
import pixiedust
  1. Use “the magic” at the beginning of the cell you’re going to debug:
%%pixie_debugger
class Person:
    def __init__(self, name, age):
        self.name = name
        self.age = age
    def speak(self):
        uppercase = self.name.upper()
        print(f'Hi my name is {uppercase} and I\'m {self.age}')

john = Person("John", 36)
john.speak()

This is a notebook with a full working example:

This is the official blog post from the author:

7 Likes