Debugging using Chrome Canary question

2 posts, 0 answers
  1. Carlos
    Carlos avatar
    2 posts
    Member since:
    May 2015

    Posted 14 May 2015 Link to this post

    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?

     

     

     

  2. Tsvetina
    Admin
    Tsvetina avatar
    1876 posts

    Posted 18 May 2015 Link to this post

    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.

     
Back to Top