Disclaimer: I am a maintainer of Node Inspector.
This is a missing feature of Node Inspector.
Local variables are preserved in Chrome Developer Tools, thus it should be possible to get this working in Node Inspector too.
Please fill an issue in project's issue tracker.
Screenshot of Chrome Developer Tools: