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: README.md
+7-20Lines changed: 7 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ UXP CLI is a standard tooling for Adobe UXP plugin development. Its a full syste
22
22
23
23
- Yarn version >= 1.5
24
24
- Node version >= 10.16
25
+
- Git
25
26
26
27
Devtools helper uses N-api v4. Node-version and n-api compatible matrix is available [here](https://nodejs.org/api/n-api.html#n_api_n_api_version_matrix)
27
28
@@ -44,12 +45,14 @@ You can run this command on terminal to add yarn global bin path.
44
45
You can add yarn global bin path to system variables by following the steps given [here](https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/ee537574(v%3Doffice.14)).
45
46
46
47
47
-
### Installation
48
+
### Installation through npm (Work in progress)
48
49
49
-
Navigate to the root of this project and type:
50
+
npm install @adobe/uxp-devtools-cli
50
51
51
-
yarn install
52
-
52
+
or
53
+
54
+
yarn add @adobe/uxp-devtools-cli
55
+
53
56
54
57
### Quick guide for getting started
55
58
@@ -64,22 +67,6 @@ After a successful yarn install, First, start a cli service ( Make sure Applicat
64
67
65
68
```$ uxp service start```
66
69
67
-
> **IMPORTANT**
68
-
>
69
-
> For macOS, there is a bug where `uxp service start` won't work if devtools hasn't been enabled before. If you can a permissions error about a path, use the following steps to work around it manually.
70
-
>
71
-
> * Navigate to `/Library/Application Support/Adobe/UXP/Developer`
72
-
> * Create a new file called `settings.json` (this will require `sudo`). I use `vi`, but any editor will do.
73
-
>
74
-
> Inside this file, put:
75
-
>
76
-
> ```
77
-
> {
78
-
> "developer": true
79
-
> }
80
-
> ```
81
-
82
-
83
70
In another terminal instance - run plugin commands for to load plugin
Copy file name to clipboardExpand all lines: packages/uxp-cli/src/cli/commands/plugin/load.js
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,20 +22,28 @@ const loadOptions = {
22
22
describe: "Space delimited list of app IDs into which the plugin should be loaded. The supported app IDs can be retrieved using `uxp apps list`. The default action is to load the plugin into all currently running apps specified in the plugin's manifest.",
23
23
demandOption: false,
24
24
},
25
+
breakOnStart: {
26
+
describe: "Blocks the plugin until a debugger attaches. If specified, attach is assumed, and a debugger will immediately be spawned. Defaults to false.",
@@ -38,6 +38,7 @@ function createLoadMessage(pluginFolder) {
38
38
path: pluginFolder,
39
39
},
40
40
},
41
+
breakOnStart,
41
42
};
42
43
returnmsg;
43
44
}
@@ -76,7 +77,7 @@ class PluginLoadCommand extends PluginBaseCommand {
76
77
thrownewError("Load command didn't find any of the currently running apps applicable for loading this plugin. Make sure your target application is running and try again.");
0 commit comments