Github user sarangan12 commented on a diff in the pull request:

    https://github.com/apache/cordova-docs/pull/510#discussion_r53539593
  
    --- Diff: www/docs/en/dev/guide/next/index.md ---
    @@ -141,7 +144,7 @@ Debugging Cordova requires some setup. Unlike a desktop 
application, you can't s
     ## iOS Debugging
     
     ### Xcode
    -With Xcode you can debug the iOS native side of your Cordova application. 
Make sure the Debug Area is showing (View -> Debug Area). Once your app is 
running on the device (or simulator), you can view log output in the debug 
area. This is where any errors or warnings will print. You can also set 
breakpoints within the source files. This will allow you to step through the 
code one line at a time and view the state of the variables at that time. The 
state of the variables is shown in the debug area when a breakpoint is hit. 
Once your app is up and running on the device, you can bring up Safari's web 
inspector (as described below) to debug the webview and js side of your 
application. For more details and help, see the Xcode guide: [Xcode Debugging 
Guide](https://developer.apple.com/library/mac/documentation/ToolsLanguages/Conceptual/Xcode_Overview/DebugYourApp/DebugYourApp.html#//apple_ref/doc/uid/TP40010215-CH18-SW1)
    +With Xcode you can debug the iOS native side of your Cordova application. 
Make sure the Debug Area is showing (View -> Debug Area). Once your app is 
running on the device (or simulator), you can view log output in the debug 
area. This is where any errors or warnings will print. You can also set 
breakpoints within the source files. This will allow you to step through the 
code one line at a time and view the state of the variables at that time. The 
state of the variables is shown in the debug area when a breakpoint is hit. 
Once your app is up and running on the device, you can bring up Safari's web 
inspector (as described below) to debug the webview and js side of your 
application. For more details and help refer 
[here](https://developer.apple.com/support/debugging/).
     
     ### Safari Remote Debugging with Web Inspector
     With Safari's web inspector you can debug the webview and js code in your 
Cordova application. This works only on OSX and only with iOS 6 (and higher). 
It uses Safari to connect to your device (or the simulator) and will connect 
the browser's dev tools to the Cordova application. You get what you expect 
from dev tools - DOM inspection/manipulation, a JavaScript debugger, network 
inspection, the console, and more. Like Xcode, with Safari's web inspector you 
can set breakpoints in the JavaScript code and view the state of the variables 
at that time. You can view any errors, warnings or messages that are printed to 
the console. You can also run JavaScript commands directly from the console as 
your app is running. For more details on how to set it up and what you can do, 
see this excellent blog post: 
[http://moduscreate.com/enable-remote-web-inspector-in-ios-6/](http://moduscreate.com/enable-remote-web-inspector-in-ios-6/)
 and this guide: [Safari Web Inspector Guide](https://develop
 
er.apple.com/library/safari/documentation/AppleApplications/Conceptual/Safari_Developer_Guide/Introduction/Introduction.html)
    --- End diff --
    
    You don't have to give the entire blog URL in the text. You can just use 
the heading and make it a reference link


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to