Google News
logo
Express.js - Interview Questions
How to debugging on Linux as well as Windows in express app?
In different operative Systems, we’ve got following commands :
 
On Linux (or) UNIX operating system the command would be as follows :
$ DEBUG=express:* node index.js
On Windows the command would be :
set DEBUG=express:* & node index.js
From Webstrome IDE
C:\Program Files (x86)\JetBrains\WebStorm 2016.2.4\bin\runnerw.exe"
"C:\Program Files\nodejs\node.exe" --debug-brk=61081 --expose_debug_as=v8debug
E:\Development\nodejd\librarey\bin\www
Advertisement