I need to debug Javascript from external sources. I found out that you can use either Firefox or Chrome to debug scripts with the internal JS debugger. But the features in these browser developer tools are limited and not the same like in a good IDE. For example I cannot create conditions for breakpoints or setting the command pointer to any other line of code. So my question is how could I use Visual Studio or any other comfortable IDE to do this? I started by opening a new web application in VS and tried to download all the scripts locally. This will work till it comes to special parameters which are not the same like it would run in the real browser e.g. window.location.href
Any advise?