3 ms·
Lots of good points here. The problem with JS optimization is that, as developers, we are basically flying blind. Looking into how to get more debugging inform
by emmanueloga_ 2y ago
Lots of good points here. The problem with JS optimization is that, as developers, we are basically flying blind.
Looking into how to get more debugging information out of a JS engine, I found this V8 blogpost that explains how to install a debugging version of V8 called "D8" [1].
I wish getting debug info was way easier though. Imagine being able to do something like this:
function xyz() { "use debug"; }
--
1: https://v8.dev/blog/elements-kinds#debugging https://v8.dev/blog/elements-kinds#debugging