Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-348 console object improvements
  3. CB-612

Add support for native remoteInspector logging

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-ios

    Description

      Currently, when using the awesome remote debugger provided by apple (connecting on localhost:9999 with safari) with :

      // enable remote debugging
      #if TARGET_IPHONE_SIMULATOR
      [NSClassFromString(@"WebView") _enableRemoteInspector];
      #endif

      I do not get any console log/warn/error output. I guess it is caused by the Xcode logging adaptater.

      The remote webinspector is really superior to Weinre currently as it does provide realtime dom inspection (weinre only displays initial dom, not what was built by Sencha Touch for instance).

      Also I've seen that you have made some progress on error tracing (CB-535), this would be also awesome as it is a really major issue. Since playing with api's that can't be debugged via a desktop Webkit is a real nightmare today.

      Attachments

        Issue Links

          Activity

            People

              iclelland Ian Clelland
              mgcrea Olivier Louvignes
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: