File tree 2 files changed +2
-1
lines changed
docs/man_pages/project/testing
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ Debugs your project on a connected device or in the iOS Simulator. <% if(isHtml)
20
20
* ` --start ` - Attaches the debug tools to a deployed and running app and launches the developer tools of your Safari browser.
21
21
* ` --emulator ` - Indicates that you want to debug your app in the iOS simulator.
22
22
* ` --no-client ` - If set, the NativeScript CLI attaches the debug tools but does not launch the developer tools in Safari.
23
+ * ` --timeout ` - Sets the number of seconds that NativeScript CLI will wait for the debugger to boot. If not set, the default timeout is 60 seconds.
23
24
24
25
### Attributes
25
26
* ` <Device ID> ` is the index or name of the target device as listed by ` $ tns device `
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class AndroidDebugService implements IDebugService {
55
55
return ( ( ) => {
56
56
let packageFile = "" ;
57
57
58
- if ( ! this . $options . debugBrk && ! this . $options . start ) {
58
+ if ( ! this . $options . debugBrk && ! this . $options . start && ! this . $options . getPort && ! this . $options . stop ) {
59
59
this . $logger . warn ( "Neither --debug-brk nor --start option was specified. Defaulting to --debug-brk." ) ;
60
60
this . $options . debugBrk = true ;
61
61
}
You can’t perform that action at this time.
0 commit comments