Pages about Debugging

Using Source Maps with CSS

When CSS or JavaScript is minified, there is a mechanism called Source Maps that can help you inspect the original code directly in the browser. Sometimes it requires some extra configuration.

Overriding console.log in JavaScript

JavaScript is a dynamic language, where even functions are just object variables, pointing to some runnable code. This makes it possible to replace default implementations with your own implementations. However, if you are not careful, it can lead to problems that are hard to debug.