You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/man_pages/project/testing/debug-android.md
+3
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,9 @@
1
1
debug android
2
2
==========
3
3
4
+
All you need to do to start debugging your app is to execute `tns debug android`. The NativeScript CLI will build, deploy, start your app, start Chrome DevTools and attach the debugger.
5
+
* You cannot debug if there are multiple devices available (emulators and/or real devices). You need to have started only one device or emulator.
6
+
4
7
Usage | Synopsis
5
8
---|---
6
9
Deploy on device, run the app and stop at the first breakpoint | `$ tns debug android --debug-brk [--device <Device ID>] [--debug-port <port>] [--timeout <timeout>]`
Copy file name to clipboardExpand all lines: docs/man_pages/project/testing/debug-ios.md
+2
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
debug ios
2
2
==========
3
+
All you need to do to start debugging your app is to execute `tns debug ios`. The NativeScript CLI will build, deploy, start your app, start Chrome DevTools and attach the debugger.
4
+
* You cannot debug if there are multiple devices available (emulators and/or real devices). You need to have started only one device or emulator.
@@ -197,33 +197,38 @@ class AndroidDebugService implements IDebugService {
197
197
// Arguments passed to executeShellCommand must be in array ([]), but it turned out adb shell "arg with intervals" still works correctly.
198
198
// As we need to redirect output of a command on the device, keep using only one argument.
199
199
// We could rewrite this with two calls - touch and rm -f , but -f flag is not available on old Android, so rm call will fail when file does not exist.
0 commit comments