Debugging magic