瀏覽代碼

Removed superfluous old readme info

Mark Shust 7 年之前
父節點
當前提交
f7f4898bcb
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      README.md

+ 1 - 3
README.md

@@ -96,7 +96,7 @@ See the `compose` folder for sample setups for both Magento 1 and Magento 2. Bas
 
 ### PHPStorm & Xdebug
 
-First, enable Xdebug in the PHP-FPM container by running: `./bin/xdebug enable`
+First, enable Xdebug in the PHP-FPM container by running: `./bin/xdebug enable`, the restart the docker containers (CTRL+C, `./bin/start`).
 
 Then, open `PHPStorm > Preferences > Languages & Frameworks > PHP` and configure:
 
@@ -128,8 +128,6 @@ Open `PHPStorm > Preferences > Languages & Frameworks > PHP > Servers` and creat
 - Set Port to `8000`
 - Check the Path Mappings box and map `src` to the absolute path of `/var/www/html`
 
-Create a new server at  `PHPStorm > Preferences > Languages & Frameworks > PHP > Servers`. Set your domain (ex. `magento2.test`) as the name and host, check `Shared`, leave port `80`, and debugger `Xdebug`. Check `Use path mappings` and assigned the `src` File/Directory to the absolute path on the server of `/var/www/html`.
-
 Create a new `PHP Remote Debug` configuration at `Run > Edit Configurations`. Set the Name to your domain (ex. `magento2.test`). Check `Filter debug connection by IDE Key`, select the server of your domain name (ex. `magento2.test`), and set IDE key to `PHPSTORM`. The `Validate` functionality will most likely not work with the Docker container, but doesn't affect the ability to use Xdebug.
 
 Open up `src/pub/index.php`, and set a breakpoint near the end of the file. Go to `Run > Debug localhost`, and open up a web browser. Be sure to install a plugin like [Xdebug helper](https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc) which sets the IDE key to `PHPStorm` automatically for you. Enable the browser extension and activate it on the site, and reload the site. Xdebug within PHPStorm should now enable the debugger and stop at the toggled breakpoint.