December 2017
Beginner
372 pages
10h 32m
English
The NativeScript CLI provides us with a debug command that runs the application in debug mode. The command is as shown here:
tns debug android
This command will install the application on the Android emulator/device and provide a link, as shown in the following screenshot, which can then be used to open the application code in debug mode:

As we can see in the preceding screenshot, NativeScript hosts the application on port 40000 to debug. Now, if you open the URL in the Chrome browser, you will be presented with the developer tool:
NativeScript uses WebSockets for the Chrome protocol to allow us to debug. As you can see, ...
Read now
Unlock full access