Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Commented Feature: Show closure variables in local window [166]

$
0
0
Example of this is in express\lib\router\index.js. The param function captures the i which is a parameter of the outer pass function.
Comments: Fundamentally, the problem is that we don't get the names of captured variables back from Node. They can still be eval'd in that scope, so hovering over them in editor or putting them into Watch works, but we can't list them.

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>