9

I'm debugging a Cordova TypeScript project with Ripple. When I debug (Debug > Android > Ripple), the debug output window does not display debug messages. Instead, I get the following message:
code: -32000 message: Debugger agent is not enabled

enter image description here

I'm not sure if this is a problem with Chrome, Ripple or VS2015.

Windows 8.1, VS2015 RTM.

DeanB_Develop
  • 2,107
  • 3
  • 23
  • 37
  • Having that same problem. I wonder if this is the culpright for the hot deploy not working for me (changing a .js file on VS is not reflecting on Ripple) – Luiz Rolim Aug 05 '15 at 11:53

2 Answers2

4

You may find that what you're actually looking for

Debug > Windows > JavaScript Console

jezmck
  • 1,138
  • 3
  • 18
  • 38
  • 1
    Yes, the JavaScript Console will display JavaScript console.... [see image](http://i.gyazo.com/8ab28a7ca231a7b877bad3051a8267a1.png). I was hoping Output > Debug would do the same and more. Instead, there's a code and message. The message doesn't provide a lot of information. – DeanB_Develop Aug 05 '15 at 15:19
  • It shows `console.log()` etc, is that not what you want to see? – jezmck Aug 07 '15 at 18:55
0

In my case, the option of Tools/Options/Debugging/’Enable JavaScript debugging for ASP.NET (Chrome, Edge and IE) was disabled.

Just checked the box, restarted VS and was working.

This post was the helper: Debugging JavaScript/TypeScript Using Visual Studio 2017 and Chrome or Edge

scmbgx
  • 71
  • 1
  • 11