how to debug nativescript app in chrome browser and view output in chrome

Here you go.

tns debug ios --chrome

You will then want to pay close attention to your terminal and find the following line.

To start debugging, open the following URL in Chrome:

enter image description here

Open up your browser and copy and paste that path and you will get access to the developer tools.


Enter following Command in terminal

tns debug android

check terminal and find following URL

chrome-devtools://devtools/bundled/inspector.html?experiments=true&ws=localhost:40000

copy above url and paste in crome and start debugging