@mathias @bmeurer @fhinkel @indutny Say I wanted to log context on an uncaughtexception in node to get the params. Prior to Node 8 I could have used vm.runInDebugContext(). How could I get this info now that runInDebugContext is deprecated?
-
-
use the inspector module, enable break on uncaught exception, and collect into on pause.
-
Excellent! Thank you. 2 q's: 1) I assume I can use http://session.post () to programmatically enable break on uncaughtexception? 2) considering using this for prod debugging. What's the perf cost? 2x slower? 10x? Guesstimate?
- 8 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.