Sometimes, debugging with console.log
is not enough to find out what is
happening in the code, as console.log
prints only plain objects but neither
functions nor objects with circular references. Besides, it's possible you
may need to know the context and flow of the code.
Read more about debugging with VS Code in VS Code: Debugging.