![]() ![]() – Go to Xdebug page, choose and download Xdebug extension in this link. It contains a single step debugger to use with IDEs it upgrades PHP’s var_dump() function it adds stack traces for Notices, Warnings, Errors and Exceptions it features functionality for recording every function call and variable assignment to disk it contains a profiler and it provides code coverage functionality for use with PHPUnit. If nothing happens with notepad++ and DBGp, try to append ?XDEBUG_SESSION_START=session_name to the address.– Xdebug is an extension for PHP to assist with debugging and development. Click on a red button to toggle a breakpoint. Plugins -> DBGp -> Debugger You should see the debugger. Check the first two options, this will refresh the variables watchlist on each stepĥ. If you’re debugging locally, set both to the directory where your sources are. The other two fields are local and remote source folders. This is the value of the GET parameter ?XDEBUG_SESSION_START=session_name if you want to start debug session explicitly. Where Remote Server IP (is the ip of the server where your sources are, in my case it is 127.0.0.1), leave IDE KEY empty for now. Launch notepad++, proceed to Plugins -> DBGp -> Config. dll to notepad++ plugins folder and restart the editor.Ĥ. The installation is much easier than the one of xdebug – just copy the. Here is its sf.net page: NOTE: I tried the latest version and it didn’t work with notepad++ 5.6.6, so I downloaded “DBGP Plugin v0.10 beta” – it worked for me. If it is not, go to step 2 and make sure you downloaded the version compatible with your php distribution and check the path to the. Restart your web server, navigate to a file with phpinfo() call and make sure if xdebug section is there. Zend_extension_ts = "c:\php\ext\php_xdebug-2.0.5-5.2.dll" ^^^^^^^^^^ change the path as in your system
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |