Small update--adding more pointers to config PHPStorm

Peter Fabian 2019-11-14 09:37:58 +01:00
parent b404c052b0
commit d30380ca32
1 changed files with 2 additions and 2 deletions

@ -84,7 +84,7 @@ All of the below steps should be performed in the Vagrant VM:
5. Preferences: Language > PHP and set up remote PHP executable and language level.
7. Preferences: Language > PHP > Servers and set host to current host (one.wordpress.test), check Use path mappings and set up the path mapping.
8. Preferences: Language > PHP > Frameworks and enable WP integration.
9. Preferences: Language > PHP > Debug and click on blue Validate link, set up correct server path and click on Validate button.
9. Preferences: Language > PHP > Debug and click on blue Validate link, set up correct URL to validation script (http://one.wordpress.test/) and click on Validate button, you probably need to fix two settings in php.ini.
10. Update php.ini according to instructions (in the VM).
```sh
$ sudo tee -a /etc/php/7.2/fpm/php.ini >/dev/null <<'EOF'
@ -109,4 +109,4 @@ All of the below steps should be performed in the Vagrant VM:
$ sudo service php7.2-fpm restart
```
14. Alternatively, you can copy the tideways PHP file over to your local machine and map it in the path mappings for PHPDebug (confirmed to work by Rodrigo).
14. Alternatively, you can copy the tideways PHP file over to your local machine and map it in the path mappings for PHPDebug (confirmed to work by Rodrigo and Peter).