How to write all the console.log statements to a file in Server?
- Using the flags enables "logging" from the command line.
It will make sure that information is locked internally along with console.log (). This lock file is known as chrome_debug.log, and it can be located in the directory.
- Now you have to filter the log file
BY Best Interview Question ON 30 Apr 2020