Setup - xdebug phpstorm chrome. PHP remote debugging: XDebug can't connect to JetBrains php Storm client (2) i's like to get remote debugging to work with the following software configuration: Win 7 Pro 64bit WAMP Server 2.2 (32bit) incl. Apache 2.2.22, PHP 5.4.3, XDebug phpxdebug-2.2.1-5.4-vc9.dll JetBrains PHPStorm 4.0.3. Change Dockerfile. Comment Xdebug 3 setting lines adn uncomment Xdebug 2 setting lines. Start again from point 3. ###PhpStorm doesn't see connection. Restart terminal. Check Xdebug in PhpStorm Setting. Disable a firewall and check again. If work, enable the firewall again, and add a rule to allow connection PhpStorm in your.
In order to start debugging, you first need to activate the debugger engine on the server. To do this, you need to set a special GET/POST
or COOKIE
parameter (see the Xdebug and Zend Debugger official documentation for details). While you can do it manually, it is more convenient to use a browser extension, which lets you enable the debugger with a single click.
Xdebug Phpstorm Cli
The following table lists the available debugging extensions.
To use Xdebug Helper with Chrome: Install the Xdebug Helper extension from the Chrome store. Enable the extension in Chrome as shown in the following figure. In Chrome, click in the Chrome toolbar. From the Xdebug helper menu, click Options. From the IDE Key list, select PhpStorm. The following video describes how to debug PHP applications using PHP Xdebug extension and PHPStorm.The video describes this on Windows Xampp installation, b.
Chrome | Firefox | Internet Explorer | Safari | Opera |
---|---|---|---|---|
Xdebug | Xdebug Helper or Xdebug-ext | |||
Zend Debugger | zDebug or Zend Debugger Toolbar | Z-Ray for Zend Server version 7 or later. PhpStorm bookmarklets generator otherwise. |
Phpstorm Xdebug Vagrant
Install the Xdebug helper extension for Chrome from the Chrome Web Store.
In PhpStorm, enable listening to incoming debug connections by either clicking on the toolbar or selecting Run | Start Listening for PHP Debug Connections
Initiate connection from the browser side. Click the Xdebug Helper icon on the browser toolbar to initiate a debugging, profiling or tracing session:
As a rule, no further configuration is required. If necessary, you can explore additional settings by right-clicking the Xdebug Helper icon and choosing Options from the context menu.
Configure Xdebug Phpstorm
Install Zend Debugger Toolbar.
In PhpStorm, enable listening to incoming debug connections by either clicking on the toolbar or selecting Run | Start Listening for PHP Debug Connections
In the browser, click the Zend Debugger icon on the toolbar and select Settings. Make sure that Autodetect is selected, and the Broadcasting port value matches the value set for Settings broadcasting port on the Debug page in PhpStorm.
Initiate connection from the browser side. Click the Zend Debugger icon on the browser toolbar to initiate a debugging or profiling session: