Automatically capturing local variables in Node.js

Hi everybody!

I’m wondering how to automatically capture local variables with the Raven (nodejs) client. For example, the Python client includes such a feature but I cannot seem to find that for Javascript/Node.js.

I know I could manually send extra data, but I’m looking with automatic capture of frame stack and local variables at the moment of error.

Is this possible or is it unsupported?


This isn’t technically possible to do in Node, unfortunately.

Thank you @matt, a pity!

A follow-up question: how do you plan to implement Raven in the future, since Domains are being deprecated?

I guess the same is true of raven-js (for browsers, not node.js)?