Reputation: 517
Is there any way to enable Visual Studio integrated Javascript debugger with Windows 10 Edge? I mean the feature for stepping through the code, set breakpoints, etc. from inside the Visual Studio IDE. I am using Visual Studio 2012 and 2013, perhaps this can be achieved with 2015?
Upvotes: 18
Views: 20510
Reputation: 3356
You need to have Script Debugging enabled.
And you need to install the debugger, otherwise it would prompt this,
Upvotes: 0
Reputation: 5306
Using: Microsoft EdgeHTML 18.17763 , MS Visual Studio 15.9.5
All I had to do was this:
In VS...click Debug
-> Options
. Under Debugging-General
...check Enable JavaScript debugging for ASP.NET (Chrome, Edge and IE)
The next time you launch Edge from VS you will see the blue Developer Tools Server icon next to the address bar.
Upvotes: 1
Reputation: 3637
This feature has finally been added in Visual Studio 2017 15.7.
JavaScript debugging with Microsoft Edge
The Windows 10 April 2018 Update is also needed, as it contains the Microsoft Edge DevTools Protocol
Upvotes: 4
Reputation: 141792
Once it is running in Edge, use Debug > Attach to Process from Visual Studio Community 2015.
Script code
MicrosoftEdgeCP.exe
Ctrl
+ Shift
+ W
to "View in browser." The above works in Visual Studio Community 2015 and it might also work in previous versions. Hooray!
Upvotes: 15