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: CHANGELOG.md
+22
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,28 @@
1
1
NativeScript CLI Changelog
2
2
================
3
3
4
+
1.2.2 (2015, August 11)
5
+
==
6
+
7
+
### New
8
+
*[Implemented #470](https://github.com/NativeScript/nativescript-cli/issues/470): Add `--timeout` option to `tns debug`.
9
+
*[Implemented #682](https://github.com/NativeScript/nativescript-cli/issues/682): Set `--debug-brk` as the default option of `tns debug`.
10
+
*[Implemented #706](https://github.com/NativeScript/nativescript-cli/issues/706): LiveSync to iOS Simulator.
11
+
12
+
### Fixed
13
+
14
+
*[Fixed #470](https://github.com/NativeScript/nativescript-cli/issues/470): Command failed due to space in file path.
15
+
*[Fixed #632](https://github.com/NativeScript/nativescript-cli/issues/632): Android debugger does not work on some OS X systems.
16
+
*[Fixed #652](https://github.com/NativeScript/nativescript-cli/issues/652): `tns debug ios` does not load inspector from the added iOS runtime.
17
+
*[Fixed #663](https://github.com/NativeScript/nativescript-cli/issues/663): Verify that Java is at least 1.7.
18
+
*[Fixed #671](https://github.com/NativeScript/nativescript-cli/issues/671): `tns debug ios` doesn't work for projects created with framework versions earlier than 1.2.0.
19
+
*[Fixed #679](https://github.com/NativeScript/nativescript-cli/issues/679): `tns library add ios` adds the framework with its full path in the Xcode project.
20
+
*[Fixed #695](https://github.com/NativeScript/nativescript-cli/issues/695): Exceptions tracking is not correctly set in the user settings.
21
+
*[Fixed #699](https://github.com/NativeScript/nativescript-cli/issues/699): Unable to update Android platform when npm cache is in an inconsistent state.
22
+
*[Fixed #722](https://github.com/NativeScript/nativescript-cli/issues/722): `tns debug` builds and installs the app twice.
23
+
*[Fixed #742](https://github.com/NativeScript/nativescript-cli/issues/742): `tns livesync android` doesn't work on some Android devices.
24
+
*[Fixed #747](https://github.com/NativeScript/nativescript-cli/issues/747): New files are not respected by `tns livesync`.
Copy file name to clipboardExpand all lines: docs/man_pages/project/testing/debug-android.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,12 @@ debug android
3
3
4
4
Usage | Synopsis
5
5
---|---
6
-
Deploy on device, run the app and stop at the first breakpoint | `$ tns debug android --debug-brk [--device <Device ID>] [--debug-port <port>]`
7
-
Deploy in the native emulator, run the app and stop at the first breakpoint | `$ tns debug android --debug-brk --emulator [<Emulator Options>]`
8
-
Deploy in Genymotion, run the app and stop at the first breakpoint | `$ tns debug android --debug-brk --geny <Geny Name>`
9
-
Attach the debug tools to a running app on device | `$ tns debug android --start [--device <Device ID>] [--debug-port <port>]`
10
-
Attach the debug tools to a running app in the native emulator | `$ tns debug android --start --emulator [<Emulator Options>]`
11
-
Attach the debug tools to a running app in Genymotion | `$ tns debug android --start --geny <Geny Name> [--print-app-output]`
6
+
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>]`
7
+
Deploy in the native emulator, run the app and stop at the first breakpoint | `$ tns debug android --debug-brk --emulator [<Emulator Options>] [--timeout <timeout>]`
8
+
Deploy in Genymotion, run the app and stop at the first breakpoint | `$ tns debug android --debug-brk --geny <Geny Name> [--timeout <timeout>]`
9
+
Attach the debug tools to a running app on device | `$ tns debug android --start [--device <Device ID>] [--debug-port <port>] [--timeout <timeout>]`
10
+
Attach the debug tools to a running app in the native emulator | `$ tns debug android --start --emulator [<Emulator Options>] [--timeout <timeout>]`
11
+
Attach the debug tools to a running app in Genymotion | `$ tns debug android --start --geny <Geny Name> [--print-app-output] [--timeout <timeout>]`
12
12
Retrieve the device port on which you are debugging | `$ tns debug android [--device <Device ID>] --get-port`
13
13
Detach the debug tools | `$ tns debug android --stop`
14
14
@@ -23,7 +23,7 @@ Debugs your project on a connected device, in a native emulator or in Genymotion
23
23
*`--stop` - Detaches the debug tools.
24
24
*`--get-port` - Retrieves the port on which you are debugging your application.
25
25
*`--debug-port` - Sets a new port on which to attach the debug tools.
26
-
*`--timeout` - Sets the number of seconds that NativeScript CLI will wait for the debugger to boot. If not set, the default timeout is 90 seconds.
26
+
*`--timeout` - Sets the number of seconds that the NativeScript CLI will wait for the debugger to boot. If not set, the default timeout is 90 seconds.
27
27
28
28
### Attributes
29
29
*`<Device ID>` is the index or name of the target device as listed by `$ tns device`
@@ -50,7 +50,7 @@ Command | Description
50
50
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
51
51
[emulate](emulate.html) | You must run the emulate command with a related command.
52
52
[livesync](livesync.html) | Synchronizes the latest changes in your project to devices.
53
-
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices.
53
+
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices or the iOS Simulator.
54
54
[livesync android](livesync-android.html) | Synchronizes the latest changes in your project to Android devices.
55
55
[run android](run-android.html) | Runs your project on a connected Android device or in a native Android emulator, if configured.
56
56
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
Synchronize changes to all connected devices | `$ tns livesync ios [--watch]`
7
+
Synchronize changes to a selected device | `$ tns livesync ios --device <Device ID> [--watch]`
8
+
Synchronize changes to the iOS Simulator | `$ tns livesync ios --emulator [--watch]`
7
9
8
-
Synchronizes the latest changes in your project to iOS devices or iOS simulator.
10
+
Synchronizes the latest changes in your project to iOS devices or the iOS Simulator.
9
11
10
12
### Options
11
13
*`--watch` - If set, when you save changes to the project, changes are automatically synchronized to the connected device.
12
-
*`--device` - Specifies the serial number or the index of the connected device to which you want to synchronize changes. To list all connected devices, grouped by platform, run `$ tns device`
13
-
*`--emulator` - If set, changes are synchronized to iOS simulator.
14
+
*`--device` - Specifies the serial number or the index of the connected device to which you want to synchronize changes. To list all connected devices, grouped by platform, run `$ tns device`. You cannot set `--device` and `--emulator` simultaneously.
15
+
*`--emulator` - Synchronizes changes to the iOS Simulator. You cannot set `--device` and `--emulator` simultaneously.
14
16
15
17
### Attributes
16
18
*`<Device ID>` is the device index or identifier as listed by `$ tns device`
17
19
18
20
<% if(isHtml) { %>
21
+
### Command Limitations
22
+
23
+
* You cannot set `--device` and `--emulator` simultaneously.
0 commit comments