Sometimes you are one or two lines short from finding the cause of the error in the stack trace but you can't because Nodejs displays only a handful of lines. In this lesson, you will learn how to increase the stack trace limit to show more lines
Hi There, Error.stackTraceLimit is a global option you can use it as a way of debugging for examples if 10 levels deep is not enough, you can set it in your library for instance to allow the user to see more or less in the stack trace. I think codesandbox for example is setting it to 25 or more
where exactly i can use this technique