How to use the captureBreadcrumb function from raven

Find comprehensive JavaScript raven.captureBreadcrumb code examples handpicked from public code repositorys.

193
194
195
196
197
198
199
200
201
202

We can capture breadcrumbs and associate them with a context, and then send them along with any errors captured from that context:

```javascript
Raven.context(function () {
  Raven.captureBreadcrumb({
    message: 'Received payment confirmation',
    category: 'payment',
    data: {
       amount: 312,
fork icon0
star icon0
watch icon0