Komodo searches for PHP interpreters on your system and displays them in the drop-down list. In the Preferences dialog box under Languages, click PHP.To specify which PHP interpreter Komodo should use to debug and run PHP programs locally: See the file locations page for more information on specific Komodo files. If this is successful, a new copy of php.ini is created and stored in Komodo’s user profile. the first in your PATH) and attempting to load the Xdebug extension ( php_xdebug.dll or xdebug.so). Komodo configures itself automatically for local PHP debugging by launching the default PHP interpreter (i.e. If you receive an error message when attempting to debug a PHP script, check the PHP troubleshooting section of the Komodo FAQ. Once you have configured PHP to use the debugger extension as described below, you can debug your scripts by opening a PHP file and using Komodo Debugger Functions. It is is not necessary to install a web server to use Komodo’s local debugging features. However, it is possible to simulate a CGI environment by specifying CGI environment variables and CGI input in the Debugging Options dialog box. When debugging locally, certain environment variables are not available, such as those provided by the CGI environment. This makes it possible to test the script in its true environment. While this is convenient for quickly debugging a PHP script, if your script depends on the availability of a web server, use Remote PHP Debugging even if the script is running on the same machine as Komodo. In local debugging mode, Komodo executes PHP directly. See for instructions on compiling Xdebug from source on other platforms. For a summary of debugger commands, see the Debugger Command List. For general information about using the Komodo debugger, see Komodo Debugger Functions.ĭebugger commands can be accessed from the Debug menu, by shortcut keys, or from the Debug Toolbar. The instructions below describe how to configure Komodo and PHP for debugging. Remote PHP debugging encompasses all types of PHP debugging not initiated from within Komodo, including debugging PHP scripts running under a local web server. Komodo can be used to debug PHP programs locally or remotely.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |