This is a migrated thread and some comments may be shown as answers.

Debugging using Chrome Canary question

1 Answer 53 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Carlos
Top achievements
Rank 1
Carlos asked on 14 May 2015, 07:05 AM

Hi I am attempting to remote debug on my Android device using Chrome Canary.

My Kendo mobile app has an index.html page that has 3 views.  The first view is the "#home" view and is included in index.html.  The 2nd view is "#content" view and is also included in index.html.  The 3rd view is "capture.html" and is its in own file called capture.html.

 Chrome Canary has no problem showing the source for debugging any view inside index.html, but it cannot show capture.html at all.

 As I understand it, Kendo somehow takes any html file outside of index.html and strips it and somehow includes it into the index.html as though the whole app was one page.  If that is so, is there a way to get Chrome Canary to allow me to debug that code?  Or is there some other way of debugging that other html file?

 

 

 

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 18 May 2015, 11:16 AM
Hi Carlos,

The contents of the views files are loaded via AJAX and there is no way to debug this code. To be able to debug it, put your JavaScript in separate JS files and reference these files in index.html.

Regards,
Tsvetina
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
General Discussion
Asked by
Carlos
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or