Checking the configuration

Barry Pretsell's picture

Let's see if it works. There is a utility on the Start Page of Komodo for doing this, however we will also look at the php.ini file that the wizard created and add a few more parameters to get it all working.

To start with, we can use the Check Configuration feature on the Komodo Start Page:

Komodo Check Configuration link

Click on the Check Configuration link and if all is well you should see something like the following:

Komodo Check Configuration link - finished

Now we should look at the php.ini file created by the wizard. So load it up in your favourite editor.
php ini file

Here we can see what the wizard added. I found in my version of Komodo that the remote_host and ide_key values were not defined so I added them. My configuration did not seem to work without them. You may find similar problems and may need to change your remote_host to 127.0.0.1
One final test would be to do a phpinfo test in your web browser and ensure you can see Xdebug defined in the resulting page. If you cannot then php is not configured correctly. From the command line a php -m will show the compiled modules, and if your path is picking up the correct php then you should see Xdebug listed under a [Zend Modules] section of the output.
Ok, now the moment of truth, let's try to debug something...