Debugging Node.js



Debugging Node.js:

Debugging a Node.js application can be done in three ways, using

  • Core Node.js debugger
  • Node Inspector
  • Built-in debugger in IDEs

Core Node.js Debugger:

Node.js provides a simple built-in debugging tool for debugging the JavaScript file.

Syntax:

node debug filename

Debugging Commands:

 Some of the important Node.js Debugging commands are listed below.

 

COMMANDS USES
cont To continue execution till any debugger statement if any.
next To stop execution at the next statement.
out To step out of the function.
pause In order to pause the running code.
step To step in the function.
watch In order to add an expression or a variable into a watch.
watcher To see the value of all the expressions and variables that are added into the watch.

 

Tags: ,
Leave a comment

Your email address will not be published. Required fields are marked *

Subscribe now

Receive weekly newsletter with educational materials, new courses, most popular posts, popular books and much more!

https://bridgejunks.com/ https://crownmakesense.com/ https://brithaniabookjudges.com/ https://hughesroyality.com/ https://rhythmholic.com/ https://bandar89.simnasfikpunhas.com/ https://www.100calshop.co.il/products/thailand/ https://myasociados.com/ https://solyser.com/ http://konfidence.cz/ https://muscadinepdx.com/ https://bandar89.parajesandinos.com.ve/ https://goremekoop.com/ https://oncoswisscenter.com/ https://www.turunclifehotel.com/bandar89/ https://www.houseofproducts.biz/ https://taimoormphotography.com/
BIJI18 BIJI18 BIJI18