When you can debug NativeScript application, there must be a unix socket including the application identifier on the device. CLI searches the currently running sockets and searches for <appid>-debug. However with latest (3.0.0) runtime, the socket is called <appid>-inspectorServer. Fix regex to work with both of the versions.
When you can debug NativeScript application, there must be a unix socket including the application identifier on the device. CLI searches the currently running sockets and searches for
<appid>-debug
. However with latest (3.0.0) runtime, the socket is called<appid>-inspectorServer
. Fix regex to work with both of the versions.NOTE: I'll add tests later.