# Console

The menu item Tools > Console opens the console window of iCab.

The Console window is used to display certain error messages which can occur when loading web pages from the internet (like a web server that is sending invalid "cookies").

But the console can be also used by web developers to debug their JavaScript code. Using the "debug(expression)" function in JavaScript code, it is possible to display strings, variables or the result of JavaScript expressions in the Console window. So the Console window is a debugging tool for web developers.

In the Network preferences it is also possible to enable the logging of HTTP request headers and HTTP response headers in the Console. Then all HTTP headers will be displayed in the Console window which allows to see the communication of browser and web servers "live". So the Console can be used for debugging the communication of browser and server as well.

The content of the Console windows can be saved in a file and it can be also deleted.