README.md in vagrant-phpstorm-tunnel-0.0.7 vs README.md in vagrant-phpstorm-tunnel-0.1.0
- old
+ new
@@ -12,11 +12,24 @@
```
PhpStorm
--------
`vagrant-phpstorm-tunnel` will create a file `.idea/vagrant/php` in your vagrant-project.
+
Select this file as a PHP interpreter in PhpStorm:
![PhpStorm screenshot](docu/phpstorm-interpreter.png)
+
+Add PHP server for your project
+![PhpStorm screenshot](docu/phpstorm-servers.png)
+
+VM
+--
+You should also export `PHP_IDE_CONFIG` parameter into `VM` environment with the same value as your PHP server name configured above
+```
+export PHP_IDE_CONFIG='serverName=www.fuboo.dev'
+```
+This is recommended to append above line to `~/.profile` file of your `VM`
+
Limitations
-----------
The plugin assumes your project is shared as `/vagrant` in the VM.
It will copy PhpStorm's helper-scripts into `.idea/vagrant/tmp/` to make them accessible from within the VM.