Roadmap to becoming a developer in 2022
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

11 lines
792 B

# Using debugger
Node.js includes a command-line debugging utility. The Node.js debugger client is not a full-featured debugger, but simple stepping and inspection are possible. To use it, start Node.js with the inspect argument followed by the path to the script to debug.
Example - $ node inspect myscript.js
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='blue' badgeText='Official Website' href='https://nodejs.org/api/debugger.html'>Official Website</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.geeksforgeeks.org/node-js-debugging/'>Node.js Debugging</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://code.visualstudio.com/docs/nodejs/nodejs-debugging'>Node.js Debugging in VS Code
</BadgeLink>