The library debug is too slow to load for the value it offers. We can create a simplified version in hardhat-utils that doesn't use any dependency.
We don't need the whole feature-set that debug offers. Mostly a performant way to apply the filters based on process.env.DEBUG, coloring by topic, and not much else.
We should uninstall debug from everywhere.
The library
debugis too slow to load for the value it offers. We can create a simplified version inhardhat-utilsthat doesn't use any dependency.We don't need the whole feature-set that
debugoffers. Mostly a performant way to apply the filters based onprocess.env.DEBUG, coloring by topic, and not much else.We should uninstall
debugfrom everywhere.