Home > Software engineering >  Console.log in node JS not work but before is working
Console.log in node JS not work but before is working

Time:08-12

Hello i want to know why my node.js app dosn't show in terminal console the consol.log By exemple when i run npm start normaly in terminal it show me "server is running on port 5000" but now console.log dosn't work

index.js consol.log server runing

1

or juste in my api on use jsDebugTerminal

breakpoint console.log

2 register code i know the console.log() show in terminal when is a server app and show in browser when is a front app so plz help, and sorry for my bad english

CodePudding user response:

Are you sure the condition is working fine?

Try: Before the condition.

console.log(user)

CodePudding user response:

problem solved there is a require of an obfuscated folder which blocks the console.log in the index.js file

  • Related