12 | {
15 | ipcRenderer.send('add-phpstorm-xdebug-config', site.id);
16 |
17 | event.target.setAttribute('disabled', 'true');
18 | }}
19 | >
20 | Add Run Configuration to PhpStorm
21 |
22 |
23 |
24 | The run configuration will be added to the PhpStorm project settings in this site's app/public directory.
25 |
26 |
27 | );
28 | });
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # ⚠️ ARCHIVED ⚠️
2 |
3 | Local now supports PhpStorm's [zero-config debugging](https://www.jetbrains.com/help/phpstorm/zero-configuration-debugging.html). 🎉
4 |
5 | See the [official docs on using Xdebug in Local with PhpStorm](https://localwp.com/help-docs/local-features/use-xdebug-in-local-with-phpstorm/).
6 |
7 | # Local Add-on: Xdebug + PhpStorm [](https://github.com/getflywheel/local-addon-volumes/pulls/)
8 |
9 | ## Manual Installation
10 |
11 | ### Clone
12 |
13 | Clone the repository into the following directory depending on your platform:
14 |
15 | - macOS: `~/Library/Application Support/Local/addons`
16 | - Windows: `%AppData%\Local\addons`
17 | - Linux: `~/.config/Local/addons`
18 |
19 | ### Install Dependencies
20 | - `yarn install`
21 |
22 | ### Build
23 | - `yarn build`
24 |
25 | ## Development
26 |
27 | ### Folder Structure
28 | All files in `/src` will be transpiled to `/lib` using [TypeScript](http://www.typescriptlang.org/). Anything in `/lib` will be overwritten.
29 |
30 | ## License
31 |
32 | MIT
33 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "local-addon-xdebug-phpstorm",
3 | "productName": "Xdebug + PhpStorm",
4 | "version": "2.0.2",
5 | "description": "One-click configurator for Xdebug + PhpStorm.",
6 | "renderer": "lib/renderer.js",
7 | "main": "lib/main.js",
8 | "icon": "icon.svg",
9 | "bgColor": "#eff5fb",
10 | "author": "Flywheel