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.

Sessions

First you need to configure how PHPEdit is going to start debug sessions, meaning what debugger it is going to use, which file is going to be debugged and what browser should be used.

Open the Preferences dialog and click on the Debugger page:

Debuggers

PHPEdit's debuggers are extensions, so there can be several debuggers, even for the same language. If you have several debugger extensions loaded this combo box will allow you to choose which debugger will be used to launch the session from PHPEdit.

If you launch the session yourself from your browser, whatever debugger is installed on the server will be the one used for the session.

For this reason, on some occasions, the debugger you selected in this option won't be the one used:

For example Xdebug starts session just by browsing to the appropriate url on the configured server, so if DBG is installed on this server instead of Xdebug, DBG will start the debug session.

Start debug session using...

PHPEdit needs to know what script you want to debug when starting the session, you can choose between 3 options:

  • Start with the active document: PHPEdit will use the document you are editing to start the debug session;
  • Start with the specified file: you can browse for a specific file that will always be used, no matter what the active document is;
  • Start with a filename relative to the project's root: PHPEdit will concatenate the relative filename you enter to the active project's root directory and use it to start the session. This setting is usefull if you have several projects at different locations that always use the same structure.

Browser to use to launch session

A debug session is triggered by requesting an url, this can be done in 3 different ways:

  • Requesting the url internally, without opening any browser window;
  • Opening an internal browser window and browsing to that url;
  • Launching the url using the operating system, so that your favorite browser will navigate to that url.

Note that the DBG extension does not support this setting and launches it's sessions internally.

Overriding the settings

As many other PHPEdit settings, these settings can be overriden in solutions, projects, directories and even files:

Right-click on a project file and select settings to edit it's custom debugger settings:

This allows you to define specific behaviors with specific files.