[TYPO3-core] Debugging TYPO3 CMS in your IDE
oliver.hader at typo3.org
Tue Apr 23 23:59:21 CEST 2013
thanks for the hint - Jetbrains/PhpStorm provides some guides on that -
e.g. one is a short video that demonstrates the possibilities (from
2010, but still handled similar in PhpStorm):
This process really speeds up searching for runtime states and variables
instead of using var_dump() calls being spread in your sources.
Am 23.04.13 15:31, schrieb Jigal van Hemert:
> A quick tip to make debugging easy.
> There is a Firefox add-on "easy Xdebug" which adds a button to the
> bottom add-on bar to start a debugging session.
> The instructions in the add-on repository (or on the authors homepage)
> are what you need to configure PHP to work with this extension.
> Do set an IDE key in php.ini in the xdebug section.
> Restart Apache to start using the new settings.
> In PhpStorm in the Run menu, choose Edit configurations. Then Defaults
> -> PHP Remote Debug.
> Configure the server (in my case: localhost, port 80, debugger Xdebug)
> and enter the Ide key (session id) which you set in php.ini.
> Now it's a matter of "Start Listen PHP Debug Connections" in PhpStorm
> (in the Run menu or with the toolbar button) and in Firefox use the
> "Start xdebug session" button on the bottom.
> With each action in the TYPO3 backend (also triggered via JS!) PhpStorm
> kicks in as debugger and you step through the code. It even works with
> XAMPP for Windows!
TYPO3 CMS Core Team Leader
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
More information about the TYPO3-team-core