I know that you can do this in Chrome, so it should be possible in other browsers if they support remote debugging. Here's how you do it in Chrome. On the toolbar, click the button to open debugging browsers, and then click "Browse with ...". Click "Add ...", install the "Program" to where Chrome is located on your computer, and set the "Arguments" to --remote-debugging-port=9222 . You can also install Incognito, since I have to ignore the cache, but this is not required.

Attention! Chrome cannot be started earlier, Chrome should start working with Visual Studio, otherwise debugging will not work.
After that, goto "Debug" â "Attach to Process ..." â select an instance of chrome with the name of your project or similar, and then click "Attach".

If everything works, you can now debug your Javascript in Visual Studio and use all the features of Chrome.

Ogglas
source share