S
S
Stanislav Pochepko2016-03-23 12:45:46
PHP
Stanislav Pochepko, 2016-03-23 12:45:46

How to set up xdebug and phpstrom 10 on ubuntu 14?

Help. I've been sitting for an hour now and can't set up xdebug with PHPSTORM. I realized that it can work in proxy mode if it is on the server and you need to connect several developers and in the usual one (I don’t know how to call it correctly). I put it on my local. I make virtual hosts like mysite.local in apache2. Costs php 5.5.9. Visible in phpinfoxdebug. command php -mshows Xdebug.
In the php storm the interpreter pointed out. He sees him. Sees that there is Xdebug. In a storm, I set port 9000 in php.ini too.

[Xdebug]
zend_extension=/usr/lib/php5/20121212/xdebug.so
xdebug.remote_host = localhost
xdebug.remote_enable = 1
xdebug.remote_port = 9000
xdebug.remote_handler = dbgp
xdebug.remote_mode = req
xdebug.idekey = "PHPSTORM"

But the breakpoints don't stop.
Xdebug console in storm writes
Waiting for incomming connection with ide key '17969'
. And each time a different key. I understand that this is necessary for the proxy.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2016-03-23
@DJZT

https://confluence.jetbrains.com/display/PhpStorm/...

A
Anton Natarov, 2016-03-23
@HanDroid

And if you write in Id like this?
If you use port sniffing, the key has no effect at all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question