Debugging Complex Legacy JavaScript Apps in IntelliJ IDEA

One calm evening you decide to dig into some legacy stuff, but all the fun is ruined by the fact that your pretty red dots in IntelliJ IDEA…