File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
docs/man_pages/project/testing Expand file tree Collapse file tree 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)
2020* ` --start ` - Attaches the debug tools to a deployed and running app and launches the developer tools of your Safari browser.
2121* ` --emulator ` - Indicates that you want to debug your app in the iOS simulator.
2222* ` --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.
2324
2425### Attributes
2526* ` <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 {
5555 return ( ( ) => {
5656 let packageFile = "" ;
5757
58- if ( ! this . $options . debugBrk && ! this . $options . start ) {
58+ if ( ! this . $options . debugBrk && ! this . $options . start && ! this . $options . getPort && ! this . $options . stop ) {
5959 this . $logger . warn ( "Neither --debug-brk nor --start option was specified. Defaulting to --debug-brk." ) ;
6060 this . $options . debugBrk = true ;
6161 }
You can’t perform that action at this time.
0 commit comments