I've googled this to the point of fatigue. I feel I've seen it all, read it all, tried it all.
I'm just trying to learn a usable workflow with those two things. I have a local XAMPP with an entire WP installation and I'm developing a theme. I can run it off XAMPP perfectly and use Phpstorm as a mere code editor and keep manually refreshing the browser to see the changes.
Yet I can't use Phpstorm to debug it, or run it in anyway. Not to mention using LiveEdit to speed up the layout work.
I have the interpreter set:
The WP support activated too (I downloaded the new Phpstorm 8 just to solve my WP problems but not even then):
The deployment (connection, mappings etc), directories and so on are all set. I've tried different combinations too, but nothing.
The whole WP codebase is within the project, I can even control-click stuff correctly from this very simple theme's index.php:
Yet every time I try to run my theme's index I get this in the browser:
Fatal error: Call to undefined function get_header() in C:\blabla\wp-content\themes\blabla\index.php on line 2
I don't have however have XDebug installed, is it a must?
I don't get why within the code editor it understands the whole WP thing but when it runs it only runs that index.php on its own.
If I try to run WP's main index, I get my website but it's doing it off my XAMPP directly so no debugging possible, no LiveEdit.
1) What am I doing wrong?
2) How do you work with WP theme dev? What's your workflow when developing a WP theme?