Skip to content

Commit

Permalink
Fixing debugging info for Windows. Also closes #207 #208 #182.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashryanbeats committed Jul 14, 2020
1 parent d23a713 commit 14d07f5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ When you're done making changes:

```bash
# Rebuild HTML content
npm run test:404
npm run book:build

# Check for 404s
npm run test:404 # See notes below about this
Expand Down
2 changes: 1 addition & 1 deletion reference/core/apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Read below for **how to access** XD and UXP APIs...

## XD-specific APIs

Most XD APIs are accessed by loading a module via `require()`, but some are passed directly to your plugin's handler functions.
Most XD APIs are accessed by loading a module via `require()`, but some are passed directly to your plugin's handler functions. See the [XD specific APIs page](../xd-index.md) for a full list of modules. Below are some examples of modules available via the API:

* [selection](../selection.md) - Indicates the selected nodes and related context
* This object is passed as an argument to your command handler function (see above)
Expand Down
2 changes: 1 addition & 1 deletion reference/structure/manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Keyboard shortcuts are defined separately for each platform. Each definition is
## Menu Localization

Plugin menu item labels or panel labels can be localized to match XD's current UI language setting. Other manifest fields such as `name` and `description` _cannot be localized yet._
Plugin menu item labels or panel labels can be localized to match XD's current UI language setting. Other manifest fields such as `name` _cannot be localized yet._

Localized labels are represented as an object containing multiple translations, instead of a single string value:

Expand Down
2 changes: 1 addition & 1 deletion reference/uxp/storage-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ await anotherFile.write(contents);
You can create new files inside a folder you have access to:

```js
const newFile = await folder.createEntry("examples.txt", {overwrite: true});
const newFile = await folder.createFile("examples.txt", {overwrite: true});
newFile.write("Hello, world!");
```

Expand Down
2 changes: 1 addition & 1 deletion reference/xd-index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# XD specifics APIs
# XD specific APIs

XD specific APIs enable developers to extend XD specific features. Using these APIs, developers can create plugins that create, read, update, and delete objects inside XD documents. Also, most other features available in XD, such as creating renditions, modifying assets panel, getting prototype data, conducting commands, and others are also available through these APIs.

Expand Down
2 changes: 1 addition & 1 deletion tutorials/debugging/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Navigate to the root folder of your plugin and **create a `debug.json` file**:

### 2. Launch Chrome DevTools

1. Windows only: _before_ launching XD, open an admin command prompt and run `CheckNetIsolation LoopbackExempt -is -n="Adobe.CC.XD.adky2gkssdxte"` -- do this _each time_ you want to debug a plugin.
1. Windows only: _before_ launching XD, open an admin command prompt and run `CheckNetIsolation LoopbackExempt -is -n="Adobe.CC.XD_adky2gkssdxte"` -- do this _each time_ you want to debug a plugin.
2. Open Google Chrome and navigate to **`chrome://inspect`** _(you must use Chrome)_
3. One-time setup: ensure "Discover Network Targets" is enabled. Click the Configure button next to this and add `localhost:9345` (or whatever port number your `debug.json` file used).
4. Click the "inspect" link under your plugin's ID.
Expand Down

0 comments on commit 14d07f5

Please sign in to comment.