Brian debugging