Hacker News new | ask | show | jobs
by Zecc 955 days ago
Are you looking for logpoints?

https://firefox-source-docs.mozilla.org/devtools-user/debugg...

Edit: just realized this is literally the first thing mentioned in the linked article.

1 comments

Not really. Suppose I have access to a closure that was created by the invocation of an IIFE. I would like to access variables that are in scope as seen from inside the closure, and I’d like to do this without executing the closure.