Console log breadcrumps in raven js

We are using raven-js in our JS app. When on localhost we filter out error reporting to Sentry, and instead prints info to the console.

My question is: Is it possible to print breadcrumps to the console?


I found a solution to this.

In Raven.config(), I used the breadcrumbCallback option. This way I can save the last n breadcrumps, and console log them later for debug.