And thinking to myself: there’s got to be a less complex way to do this. They pretty quickly go down the rabbit hole of UUIDs, WebSockets, and security implications and I start to feel in over my head. It’s useful, but honestly, unless you’ve been programming for a while, it’s not exactly the easiest thing to decipher. 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |