IntelliJ IDEA 2017.2 Help

Enabling Profiling with Zend Debugger

This feature is supported in the Ultimate edition only.

The following is only valid when PHP Plugin is installed and enabled!

Xdebug profiler is incorporated in the Zend Debugger tool. Therefore you only need to download, install, and enable Xdebug itself.

To enable profiling with Zend Debugger, perform these general steps:

Configuring the way to toggle the profiler from the browser

To specify the GET/POST or COOKIE parameters, do one of the following:

  • Generate the bookmarklets to toggle the debugger through. These bookmarklets will appear on the toolbar of your browser. They provide control over the debugger cookie, through them you will activate and deactivate the debugger.
    1. Enable the Bookmarks toolbar in your browser by doing one of the following depending on the browser type:
      • In Firefox, choose View | Toolbar | Bookmarks Toolbar.
      • In Chrome, choose Bookmarks | Show bookmarks bar.
    2. Open the Settings / Preferences Dialog by pressing Ctrl+Alt+S or by choosing File | Settings for Windows and Linux or IntelliJ IDEA | Preferences for macOS. Expand the Languages & Frameworks node, and then click Debug under PHP.
    3. On the Debug page, that opens, click the Use debugger bookmarklets to initiate debugger from your favorite browser link.
    4. On the Zend Debugger & Xdebug bookmarklets page that opens, check the debugging engine settings and click Generate. The bookmarks for listed debugging-related actions are generated.
    5. Drag the generated links to the bookmark toolbar in your browser.
  • Specify the values manually.
Last modified: 29 November 2017

See Also