Debugging with XDebug

Debugging with XDebug

Nosūtīja ensiferum ka
Atbilžu skaits: 5

Hello! 

I'm trying to debug a question in quiz.

I installed xdebug (and xdebug helper in browser) and tried to configure PHPStorm as it's written in this tutorial: https://wpdevkvk.wordpress.com/2014/12/12/configure-phpstorm-to-debug-php-with-xdebug-and-chrome/

I did all the settings and then I have opened 'question/preview.php' at phpstorm and set a breakpoint at the top of file and start the listening. In browser, on the Moodle site I opened preview of my question ('localhost/question/preview.php?blablabla...). But I didn't get 'Incoming Connection From Xdebug' window in PHPStorm, that means there is no connection, I guess.

What can I do with it? Thanks for help.

Vidējais novērtējums: -
Atbildot uz ensiferum ka

Re: Debugging with XDebug

Nosūtīja ensiferum ka
Atbildot uz ensiferum ka

Re: Debugging with XDebug

Nosūtīja ensiferum ka

But there is the new problem smaidīgs Moodle works extremely slowly. It's just impossible to debug.

Atbildot uz ensiferum ka

Re: Debugging with XDebug

Nosūtīja Richard Oelmann
Core developers attēls Particularly helpful Moodlers attēls Plugin developers attēls Testers attēls

Make sure you have theme designer mode turned off (if you have it enabled)