@defman, that is only necessary for remote debugging, or in your case, compiled your own xdebug. I would like to get @tmw100 back to the default config where it should work, then we can muck around with workarounds.
For supported versions of PHP, Komodo has the xdebug bits stored in KOMODO_DIR\libs\support\php\debugging. That path varies slightly between OSs but you get the idea.
Komodo will detect your PHP version that is on your system PATH then create a PHP.ini file that it will store in your Komodo profile. Here’s mine on Windows:"%LOCALAPPDATA%\ActiveState\KomodoIDE\8.5\php\5.5.1\php.ini". It has the Komodo debugging config lines pre-pended to the file.
Any way, long story short. You should be able to simply point Komodo at your PHP interpreter and it will do the rest. So try the most basic setup first then we can move forward if that doesn’t work.
It’s necessary if MAMP or XAMPP automatically configure mysql and mysqli for using (in most cases it’s true). And when you try to configure Komodo’s php.ini - you can get some problems with paths to mysql.sock or something like it.
What is the “original default”? I did not modify the php.ini that came from the download from MAMP.
How and where does one point Komodo to the PHP Interpreter? Actually, I know where that config is done; but the question is what file/location is the dialog box looking for on Mac OS?
(see attached screenshot)
Remove path from “Directory containing php.ini” and Komodo will start use default php.ini in folder KOMODO_LIB_SUPPORT_FOLDER/php/debugging/<major interpreter version> based on selected interpreter, e.g. for php 5.5.18 Komodo will start use KOMODO_LIB_SUPPORT_FOLDER/php/debugging/5.5/xdebug.so xDebug version.
[Or you can follow the train, CJ my instructions how to install xDebug and configure it]
Or try to insert in bottom/top of your MAMP php.ini this line:
Making progress and much closer. The error message has gone away in the config screen. Debug is silently not doing anything. I’m thinking xdebug needs to be installed… Not sure where that goes - yet. Or, where to get the correct version
Finally got it working. The most relevant pieces to the puzzle are:
I’m debugging remotely. Remotely means more then just debugging from a server that is physically remote.
The documentation for setting up debugging isn’t the easiest thing to follow. WHERE the xdebug.so file is kept does not make much difference, as along as it is pointed to correctly in the php.ini file. The php.ini file must be the same one being loaded by the web server that is rendering the content that is being debugged.
I’ve attached screen shots of the relevant section of that ini file, and a screenshot of the Komodo configuration file