I've got a localhost webserver setup with WebMatrix and its IISExpress. It runs the webserver as http://localhost:<port>
.
I've also installed xdebug in it which runs perfectly for error-handling purposes.
Now I have installed PhpStorm and I want to make use of its debugger's break-point wizardry. It uses Xdebug's /?XDEBUG_SESSION_START=<IDEKEY>
feature and This is where I'm having trouble.
In all, I have 3 places where I can set PORT:
(a) Port in
xdebug.remote_port
inphp.ini
.(b) Port in WebMatrix.
(c) Port in PhpStorm's
Server settings
, inRun/Debug configuration
EDIT: There's an error here: All those extra
"
quotes"
and;
colons;
.
So far messing around, I've come to the conclusion that all three cannot be the same. otherwise it gives errors...
Which port to use where?