Xdebug and Magento

  • Analyze xdebug memory profiling for PHP

    Step 1:      Install XDebug on Wamp

    1. Download the latest release of xdebug for PHP version you are using.

    2. Copy xdebug dll file into php’s extension directory, in my case, as I use wamp, it is C:\wamp\bin\php\php5.4.16\ext

    3. Now we need to configure xdebug so that it get recognized by PHP, so open php.ini. For CLI it will be located at  C:\wamp\bin\php\php5.4.16\php.ini. and Apache it will be located at C:\wamp\bin\php\php5.4.16\php.ini. You need to modify both above files Continue reading

  • Magento xdebug with Netbeans


    Magento xdebug with Netbeans 7.3.1 and wampserver.

    Taking the pain to have a debugger working is worth the effort. I will take you through setting up debugging with xDebugger on Netbeans and windows and wampserver in 14 steps. This how to debug with Magento using Netbeans and xdebugger tutorial is written for Windows, but in general it can be used for any operating system such as Linux or Mac OS.

    1. Install wampserver (latest preferable 32 bit). Wampserver already includes the xdebugger extension.
    2. Install Netbeans. Netbeans works well with local or remote debugging.
    3. Configure xdebug to work
    4. My php.ini xdebug configuration looks like

    Continue reading

2 Item(s)

per page
My Cart