My development environment consists of host OS (Windows) where I have installed PHPStorm, and virtual machine with Debian, where Apache, PHP, Pear (PHPUnit, CodeSniffer and other tools) are installed. All data are stored also withing virtual machine, so I'm using simple samba share to make it visible to Windows (and PHPStorm) - mounted as S:\. Also, I can ssh into my virtual machine. (Basically, there is no PHP, no Apache, no Pear installed on my Windows host machine)
Now, I would like to take advantage of PHPStorm powers, but can't find how to setup it remotely.
I would like to use:
- PHPUnit from PHPStorm, so it will run tests remotely via ssh - there I have to setup different paths, because S:\myworkspace differs from virtual's /home/myself/mystuff/website (having coverage would be lovely too) (! important is I have to run my own bash script to collect all required deps, script then just runs `phpunit --include-path=...` !)
- CodeSniffer to sniff right away when I type something - again remotely, using standards installed in virtual machine (there is nothing related to PHP on Windows)
- VCS integration would be also nice, but I already lost my hopes (IDEA-115419 ... from virtual command line, it works without any issue)
I thikn I did not pick project type: "Web server is on remote host, files are accessible via network share or mounted drive" because it didn't work somehow (don't remember what was wrong exactly)... I suppose I picked option no server + files locally. But I'm really not sure and don't know how to check that from already existing project (... if this does matter anyway).