I'm currently programming on osx 10.8, and run a VM with ubuntu 12.04 Server for execution of code (so that it is run in an identical environment to production). I want to be a good programmer and use a test framework and debugger, but I'm finding the guides for setting up PHPStorm in this environment rather lacking.
How I work: I write code in PHPStorm on OSX, when I save, the file is rsynced to the virtual machine, I run the code on the virtual machine for testing. So the divide is, all editing tools on OSX, and all execution tools on the VM (php, apache, php-cli, etc.).
I'm running into a lot of problems all around the "How do I get phpstorm to point at something on the VM?" question. So to setup Xdebug and PHPUnit, can I install them on the VM alone and have PHPStorm run them remotely? There's not a lot of clear online documentation for this kind of setup. :(