Software Archive
Read-only legacy content
17060 Discussions

how can I debug the code programmed with angular.js?

YUXIAO_C_
Beginner
609 Views

Help!

I am building an app using the ionic framework. but in the developer tools view, I can not add a breakpoint to the code.

I can add a third-party plugin to the normal chrome when I need to debug the angular.js code. but in XDK , how can I do with it ?  

0 Kudos
1 Solution
Ad
New Contributor III
609 Views

Hi,

We are building apps with the ionic framework too and had never problems settings breakpoints in the code. Sometimes the XDK debugger is not starting up correctly. The only way, at least what we know, is to restart XDK and start the debugger again, but that has nothing to to with angular.js. My advice try to restart XDK and try it again.

Because the XDK debugger is not starting up slow and not correct we use most of the time Chrome for debugging our projects. You have to setup a webserver e.g. the Windows 10 build-in Internet Information Server and add an virtual path to your XDK projects directory.

 

View solution in original post

0 Kudos
2 Replies
Ad
New Contributor III
610 Views

Hi,

We are building apps with the ionic framework too and had never problems settings breakpoints in the code. Sometimes the XDK debugger is not starting up correctly. The only way, at least what we know, is to restart XDK and start the debugger again, but that has nothing to to with angular.js. My advice try to restart XDK and try it again.

Because the XDK debugger is not starting up slow and not correct we use most of the time Chrome for debugging our projects. You have to setup a webserver e.g. the Windows 10 build-in Internet Information Server and add an virtual path to your XDK projects directory.

 

0 Kudos
YUXIAO_C_
Beginner
609 Views

Ad Thanks very much! you are right . it turns out that it may be computer's problem. the XDK debugger goes very well on my own PC.  

0 Kudos
Reply