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-ios.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ While debugging, prints the output from the application in the console and watch
27
27
*`--debug-brk` - Prepares, builds and deploys the application package on a device or in a simulator, runs the app, launches the developer tools of your Safari browser and stops at the first code statement.
28
28
*`--start` - Attaches the debug tools to a deployed and running app and launches the developer tools of your Safari browser.
29
29
*`--no-client` - If set, the NativeScript CLI attaches the debug tools but does not launch the developer tools in Safari. Could be used on already started Safari Web Inspector.
30
-
*`--timeout` - Sets the number of seconds that NativeScript CLI will wait for the simulator/device to boot. If not set, the default timeout is 90 seconds.
30
+
*`--timeout` - Sets the number of seconds that NativeScript CLI will wait to find the inspector socket port from device's logs. If not set, the default timeout is 10 seconds.
31
31
*`--no-watch` - If set, changes in your code will not be reflected during the execution of this command.
32
32
*`--clean` - If set, forces rebuilding the native application.
33
33
*`--chrome` - Deprecated - default behavior uses '--chrome' implicitly. Allows debugging in Chrome Developer Tools. If set, Safari Web Inspector is not started and debugging is attached to Chrome Developer Tools.
this.$errors.fail(`Timeout option specifies the seconds NativeScript CLI will wait to find the inspector socket port from device's logs. Must be a number.`);
* Attaches on DEBUGGER_PORT_FOUND event and STARTING_IOS_APPLICATION events
23
23
* In case when DEBUGGER_PORT_FOUND event is emitted, stores the port and clears the timeout if such.
24
-
* In case when STARTING_IOS_APPLICATION event is emitted, sets the port to null and add timeout for 5000 miliseconds which checks if port is null and prints a warning.
24
+
* In case when STARTING_IOS_APPLICATION event is emitted, sets the port to null and add timeout for 10000 miliseconds which checks if port is null and prints a warning.
25
25
* @param {Mobile.IDevice} device - Describes the device which logs should be parsed.
26
26
* @param {IProjectDir} data - Object that has a projectDir property.
0 commit comments