https://chaos.social/@svenk/114743849460087240
#TIL: You can debug nodejs applications very nicely (remotely) with Chrome/Firefox debuggers. Works like npx --node-options=--inspect @11ty/eleventy (yes, looking at you, @11ty), put some debugger; breakpoint in your code, point your browser to chrome://inspect. Super nice. Learn more at https://nodejs.org/en/learn/getting-started/debugging
https://www.11ty.dev/docs/debugging/
Related: https://www.11ty.dev/docs/debug-performance/#node-js-cpu-profiling
https://chaos.social/@svenk/114743849460087240
https://www.11ty.dev/docs/debugging/
Related: https://www.11ty.dev/docs/debug-performance/#node-js-cpu-profiling