AppStudio Server Debugger: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
Replaced content with "<b><i>This feature was deprecated in AppStudio 6</i></b>"
Tag: Replaced
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
Once an app is packaged into a native app using PhoneGap, the usual debugging techniques, such as the Chrome Debugger, cannot be used. It can also be difficult to debug an app running on a device.
<b><i>This feature was deprecated in AppStudio 6</i></b>
 
The NSBApp Debugger is a huge help. Here's how to use it.
 
=== Turn on debugging for PhoneGap ===
 
In AppStudio, go into the Project Properties for your project. Set "PhoneGap Debugger" to True.
 
=== Upload your app to PhoneGap Build ===
 
Use "Build Native App with PhoneGap" on AppStudio's Run menu.
 
=== Install your App on your device ===
 
Once the build is complete, download your app and start it on your device.
 
=== Start the NSBApp Debugger ===
 
Use "NSBApp Debugger" on AppStudio's Run menu
 
=== Debugger is now Active ===
 
This screen identifies the current session. The device needs to have an active WiFi connection to communicate with the PhoneGap's debug server. Your desktop is logged into that same server to get the information from the device.
[[File:PhoneGapDebug3.png|center|400px]]
 
The Console tab works very much like the Console tab on the Chrome debugger. Use this to view error messages and enter console commands. Since commands you type are sent to PhoneGap's debug server and then on to the device, it can take a few seconds to get the result of something you type.
[[File:PhoneGapDebug4.png|center|400px]]
 
The Elements tab shows the elements and scripts of the app.
[[File:PhoneGapDebug5.png|center|400px]]
 
The Resources tab lets you look at values in localStorage and databases.
[[File:PhoneGapDebug6.png|center|400px]]

Latest revision as of 14:32, 13 November 2020

This feature was deprecated in AppStudio 6