Node.js documentation -inspect - The Node.js docs themselves understand debugging isn’t the easiest, so they’ve made a handy reference to help get people started. ![]() This is the easiest one to implement, and it’s the fastest way to litter your clean code with extra lines of info - but it can also (sometimes) help you find and fix the error. In Java, it’s (), in Python it’s print() - you get the idea. It’s built in to Node.js and prints in the terminal just like it’s built into JavaScript and prints in the browser’s console. ![]()
0 Comments
Leave a Reply. |