Debugging in Eclipse (Moodle 3.3)

Debugging in Eclipse (Moodle 3.3)

by sulagna behera -
Number of replies: 3

Hello Moodlers


I want to debug moodle using eclipse. I'm unable to configure Xdebug. I followed the steps mentioned in the discussion in the mentioned url: https://moodle.org/mod/forum/discuss.php?d=93987 

I am new to this. So, Silly doubts ahead! smile

1. The ZendExtensionManager.dll  is not present in moodle. Is it for Zenddebugger or we need it to run the Xdebug?

2. After configuring, on running the debug,  i am getting the php warning "Xdebug must be loaded as a Zend extension in unknown line 0"


If anyone could help me out.


Thanks in advance. smile





Average of ratings: -
In reply to sulagna behera

Re: Debugging in Eclipse (Moodle 3.3)

by Mark Johnson -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

It sounds like you might not have xdebug installed correctly.

They have a tool on their website which will provide you with bespoke instructions, just paste your phpinfo() (or php -i in the command line) output into the form: https://xdebug.org/wizard.php


In reply to sulagna behera

Re: Debugging in Eclipse (Moodle 3.3)

by phani kumar -

Hi sulagna behera,

    I want debug moodle can u help if u found any solution.I am using Xdebuger when I am stating deduging it was showing (waiting for Xdebug session) it not completing his thread. 

In reply to phani kumar

Re: Debugging in Eclipse (Moodle 3.3)

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

I have found vsedit to be a superior tool to either Eclipse or Netbeans and I have been using Netbeans for over 10 years.

https://code.visualstudio.com/

In my view it does a better job of working with xdebug than either of those alternatives.