Warning: You're looking at a styleless page because your browser is ignoring CSS styles. You're probably using a very old browser, or you disabled CSS support by purpose. We suggest you to download a modern browser such as Firefox or Internet Explorer.

Settings

These settings affect the way the debugger operates. To open the settings dialog, choose Debug>Debugger Settings.

Common settings

Auto save files :
When this option is checked, files will be saved automatically when the debugger is started from the IDE.

Close MainForm when JIT stops :
When checked, PHPEdit will automatically close if it was opened by DBG Listener in response to a Just In Time debugging error.

DBG Listener

If DBG Listener is not running when PHPEdit starts, PHPEdit will launch an instance of DBG Listener and configure it to use these settings. For correct operation, the settings should match the settings of the [debugger] section of php.ini. After changing these settings, reboot PHPEdit.

IP :
This is the IP address that DBG Listener should bind itself to. If the IP address is left blank, or is unavailable, DBG Listener will use the first available IP address.

Port :
This is the port that DBG Listener should listen to for debugging information from PHPEdit (in Local CGI mode) or the Apache server (in HTTP mode). This port may be set to any port that is not in use by another service. The default port is 7869.

Listener Options

If DBG Listener is not running when PHPEdit starts, PHPEdit will launch an instance of DBG Listener and configure it to use these options. After changing these settings, reboot PHPEdit.

Break on load :
When checked, a breakpoint will be automatically added to the first line of PHP code in the script that is being debugged.

Send errors :
When checked DBG Listener will send information about errors to PHPEdit. This information is seen in the Debugger Log pane.

Send logs :
NO DATA

Send output :
When checked DBG Listener will send output generated by the script to PHPEdit. This information is seen in the Output pane.

Send output details :

NO DATA

Error Level

PHP has several levels of error reporting. These settings control how sensitive the debugger in PHPEdit is to these PHP generated errors. For more information see PHP: Error Handling and Logging Functions.

Display :
These checkboxes control which PHP Errors are displayed in the Debugger Log pane.

Halt On :
The Halt On setting controls which PHP Error levels will cause PHPEdit to break script execution.

Debugger status

Refresh :
Clicking the Refresh button will show the current statuss and version number of DBG Listener. It should report that "Everything seems OK and the debug listener is working."

Local CGI

Local CGI is the PHP interpreter that PHPEdit will use to debug the script when the "Run" button is pressed in the IDE.

Note: Using Local CGI debugging is only effective for pages that don't use POST, GET, SYSTEM, COOKIE, or SESSION variables.

Path :
This is the path of the PHP CGI interpreter that PHPEdit will use to debug the script when debugging is started from the IDE. This executable should be the php-cgi.exe from a PHP 5 distribution. The default path is the location of the PHP CGI interpreter that is bundled with PHPEdit.

HTTP(SAPI or remote CGI)

HTTP mode is used when a web server with PHP and the dbg extension starts a debugging session with DBG Listener on the client machine. The script is viewed in a browser, and any error or debugging information is passed to the IDE.

Note: HTTP is the most effective way of debugging because it allows debugging of POST, GET, SERVER, COOKIE and SESSION variables.

Options :

Launch debug session in web browser :
This feature will be available in a later release.

Use backslashes in filenames on remote filesystem :
When selected this alerts the IDE that the filesystem where the web server is running uses backslashes in filenames. This should be checked if the web server runs on a Windows platform.

Make filename low case before mapping :
When selected, the IDE will convert the filenames received by DBG Listener to lowercase before attempting to open them on the client machine.

HTTP Mapping :
DBG Listener will pass information about the file structure of the web server to PHPEdit. This allows the IDE to open local copies of the scripts for debugging. These settings help PHPEdit map the remote filenames to the local filenames.

Server Root URL :
This is the URL that defines the root of the web server. Examples:
http://localhost/
http://www.example.com
http://www.example.com/~user/

Login :
This feature will be available in a later release.

Password :
This feature will be available in a later release.

Local root directory :
This is the location of the script files on the client machine (the machine where PHPEdit is running). Example:
C:\httpdocs\

Remote root directory :

This is the location of the script files on the web server. Examples:
C:\httpdocs\ (Windows)
/var/www/ (Linux)