If you're looking to debug your UI in NativeScript, the process has evolved since previous answers mentioned it. Now, you can actually debug certain aspects of the UI.
1) Start by running the app on your emulator using a command like
tns debug android --bundle
. This will give you a link similar to
chrome-devtools://devtools/bundled/inspector.html?experiments=true&ws=localhost:40000
.
2) Open this link in Chrome and navigate to the Elements tab to see the XML tree of elements. You can even make changes here by adding or altering attributes. For example, right-click on an element, choose "add attribute," and set color="blue" to change the font color for that element.
You'll be able to view the computed CSS on the right side, although modifying CSS directly from this interface is not as straightforward as in web development.
For more detailed instructions, check out the documentation at
.