1

I installed the xdebug using below insturctions and Xdebug was succesfully installed. enter image description here

It is my phpinfo.php enter image description here enter image description here

Then I follow this intructions, I made everthing what it says.

  • I started Listening for PHP Debug Connections
  • I Set a breakpoint in the source code
  • I added that extension to chrome

Then I ran Chrome extension and refresh page. enter image description here

It didn't happend anything.

EDIT phpinfo.php shows that xdebug exist but when I test from console, I can not see my xdebug. enter image description here

Do you have an idea what should I make about that. ?

thank you.

8
  • Have you turned debugging on (green bug icon in PHPStorm)? Commented May 28, 2015 at 13:58
  • When I click the debug button, Another window opens and This error shows "502 Bad Gateway". Bu below page says only refresh page after activate chrome extension confluence.jetbrains.com/display/PhpStorm/… Commented May 28, 2015 at 14:13
  • 1
    Just adding extension is not enough. You have to click on "bug" icon to create "debug me" cookie. In any case: please provide xdebug log: xdebug.org/docs/all_settings#remote_log ALSO -- confluence.jetbrains.com/display/PhpStorm/… Commented May 28, 2015 at 16:00
  • @LazyOne I edited my answer, An image was added below this sentence = > "Then I ran Chrome extension and refresh page. " . Do I exactly understand you ? Commented May 28, 2015 at 16:18
  • 1
    Yes -- all good in that regard. 1) Show whole xdebug section of phpinfo() output captured on that site 2) xdebug log please -- it can tell a lot. Commented May 28, 2015 at 16:20

1 Answer 1

1

I found the solution. It was exactly my mistake. When I was adding neccessary codes to php.ini file I missed some information.

Remote_enable, remote_host and remote_port must be exactly added.

So my final php.ini file. enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.