Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

There is debug.log file created in my angular-cli project. How is it created and what's its use?

This is debug.log file:

[0110/160818:ERROR:tcp_listen_socket.cc(76)] Could not bind socket to 127.0.0.1:6004 [0110/160818:ERROR:node_debugger.cc(86)] Cannot start debugger server [0111/233417:ERROR:tcp_listen_socket.cc(76)] Could not bind socket to 127.0.0.1:6004 [0111/233417:ERROR:node_debugger.cc(86)] Cannot start debugger server [0113/120522:ERROR:tcp_listen_socket.cc(76)] Could not bind socket to 127.0.0.1:6004 [0113/120522:ERROR:node_debugger.cc(86)] Cannot start debugger server [0113/122245:ERROR:tcp_listen_socket.cc(76)] Could not bind socket to 127.0.0.1:6004 [0113/122245:ERROR:node_debugger.cc(86)] Cannot start debugger server [0120/171545:ERROR:tcp_listen_socket.cc(76)] Could not bind socket to 127.0.0.1:6004 [0120/171545:ERROR:node_debugger.cc(86)] Cannot start debugger server [0207/173408:ERROR:tcp_listen_socket.cc(76)] Could not bind socket to 127.0.0.1:6004 [0207/173408:ERROR:node_debugger.cc(86)] Cannot start debugger server

like image 403
Shikha Avatar asked Feb 23 '17 10:02

Shikha


People also ask

What is a debug log file?

A debug log file contains status and error messages useful for debugging the license server. A license server always generates debug log output. Some of the debug log output describes events specific to lmgrd and some of the debug log output describes events specific to each vendor daemon.

Where is the debug log file?

Debug logs are stored in the user data directory as chrome_debug. log. The file is overwritten every time Chrome restarts. So, if you have an issue with the browser, check the log before you restart Chrome.


1 Answers

I have no idea why they are being created (In my case, they are everywhere!), but I found how to ignore them ;)

Add the following to your .gitignore file. Problem solved!

**/debug.log
like image 188
Ε Г И І И О Avatar answered Nov 01 '22 10:11

Ε Г И І И О