简体   繁体   中英

Console.log in node JS not work but before is working

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

Are you sure the condition is working fine?

Try: Before the condition.

console.log(user)

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM