Chromelabs4/30/2023 ![]() ![]() ![]() You have general knowledge of running node scripts and working with nodejs apps.You have nodejs installed on your system (a no-brainer but still worth a mention).So now let’s roll up our sleeves and get started: Prerequisitesīelow are some prerequisites before you get started: I am going to show a step by step process of how to debug a nodejs application with ndb. Ndb is a boon when debugging a Nodejs app. ![]() To be honest, it is a pain in the neck.įinally, Google chromelabs has released ndb, which they say is “An improved debugging experience for Node.js, enabled by Chrome DevTools”. Then you have to look at the proper web socket connection which is hard, and debug using Chrome’s node debugger. You are likely already aware of the need to add -inspect to the node script with node inspector. The default debugging process of NodeJs (read Node.js) is quite clumsy. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |