Earlier quoted context omitted.
Also recommend this to learn a new code base which will log every function call: https://www.npmjs.com/package/@phenomnomnominal/debug
The repo has zero documentation. Do you use it on client, node, or both? Does it renders the calls in a tree?
https://dev.to/phenomnominal/lazy-debug-logging-for-node-js-...
The idea is it logs every function call. Nice for picking up a new code base.