I'm new to PHPstorm and I cant make the debugger to work.
The breakpoint is not stopping execution.
I use MAMP PRO 22.214.171.124.
Enabled Xdebug in MAMP PRO (MAMP configure php.ini)
I also edited the php.ini for PHP v5.6 to:
I had some issue that the loaded php.ini was not the same as the one under/Applications/MAMP.....
I updated the one in my: /Library... to read the same as the one in the PHPv5.6 php.ini file and then Xdebug registered as the interpreter.
One issue fixed.
Now I get some output in a small terminal below my php-code but the breakpoint I set in the code is just passed by, by the debugger and I do not get any stop in the output browser.
(Yes I have started the Xdebug pluggin for Chrome)
I have managed to get things working if I create a project in my MAMP/htdocs folder and breakpoints are working there.
Two issues fixed.
But I would like to put my projects in other folders.
(say Dropbox to be able to work from other computers when needed)
It seams like PHPStorm only can work with projects in the htdocs folder.
Can someone advice where I enable different folders than htdocs?
Can someone elaborate on what server I am using. (Built in or MAMP)?
MAMP has port 888 and PHPStorm seams to use 63342
In Chrome I get: http://localhost:63342/testproject/test.php when debugging.
This is my first encounter with the PHPStorm and as a new user I was hoping things should be super easy but there have been some bumps on the road.
Can anyone advice?