Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Debugging Your App

Nick Iliev edited this page May 28, 2020 · 2 revisions

Debugging Your App

Debug an app deployed on a connected device, Android emulator, or the iOS simulator. You can start a debugging session by following the procedure outlined below or by enabling the Start Debugger option when you Deploy Your App on a Device.

Prerequisites

  • Verify that you have the latest official version of iTunes.
  • Verify that you have connected at least one physical device to your system or you have a running Android emulator or iOS simulator.
  • For Android devices, verify that you have enabled USB debugging. For more information, see Configure On-Device Developer Options in the Android Studio User Guide.
  • Verify that the app deployed on the device is built-in Debug configuration.
  • Verify that the app you want to debug is currently running on the device.

Procedure

  1. Launch NativeScript Sidekick and open your app.
  2. From the left toolbar, select Devices.
  3. Click on the Start Debugger button (bug icon) next to the respective device.
  4. Use the newly opened Developer Tools dialog to debug your app.

NOTE: For more detailed information about the debugging of NativeScript apps with the Chrome DevTools, see Chrome DevTools Debugging.

Next Steps

Learn how you can LiveSync changes made to the code directly on the device, without the need to rebuild and redeploy your application.

See Also

Clone this wiki locally