Software Archive
Read-only legacy content
17060 토론

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

YUXIAO_C_
초급자
848 조회수

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 포인트
1 솔루션
Ad
새로운 기여자 III
848 조회수

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 포인트
2 응답
Ad
새로운 기여자 III
849 조회수

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 포인트
YUXIAO_C_
초급자
848 조회수

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 포인트
응답