Added content for debugging in node.js and how to debug. (#2340)

* Added content for debugging in node.js and how to debug.

added tutorial links for the same to learn more about debugging in node.js

* Update content/roadmaps/107-nodejs/content/116-nodejs-more-debugging/readme.md

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
pull/2339/head^2
Aarti Verma 2 years ago committed by GitHub
parent 233c5d8105
commit ae959049e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      content/roadmaps/107-nodejs/content/116-nodejs-more-debugging/readme.md

@ -1 +1,9 @@
# Nodejs more debugging
# More Debugging
Debugging is a concept to identify and remove errors from software applications. Here, we will learn about the technique to debug a Node.js application.
## Why not to use console.log() for debugging?
Using `console.log` to debug the code generally dives into an infinite loop of “stopping the app and adding a console.log, and start the app again” operations. Besides slowing down the development of the app, it also makes the writing dirty and creates unnecessary code. Finally, trying to log out variables alongside with the noise of other potential logging operations, may make the process of debugging difficult when attempting to find the values you are debugging.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink badgeText='Website' colorScheme="yellow" href='https://www.geeksforgeeks.org/node-js-debugging/'>Node.js Debugging</BadgeLink>

Loading…
Cancel
Save