2/24/2023 0 Comments Notepad++plugins![]() ![]() I’m using IIS 7.5 on Windows Server 2008 R2 and PHP 5.3.0 and the Firefox Xdebug plugin. ![]() With that said, I’m still having trouble getting it working properly. The documentation for using this plugin is extremely sparse and you got me far enough to start working. ![]() ‘session_name’ could be anything you want to keep. To start debugging just add “?XDEBUG_SESSION_START=session_name” at end of you url. IDE KEY should be same to the one you specified in php.ini settings above. Goto “Plugins->DBGp->Config” to open the configuration screen of DBGp plugin.įill the details as shown in the image above. Well we are now almost finished with setup, only ting remaining is to configure DBGP to listen to right port and we are done. Now open Notepad++, and you should see DBGp option in plugins menu.Check out the readme.txt file, that is bundled with plugin, to make sure we don’t miss anything.Unzip and move dbgpPlugin.dll file to plugins folder of your notepad++ installation folder, in my case the path is “C:Program FilesNotepad++plugins”.Download the latest release of DBGp Plugin.Make sure you have latest version of Notepad++ is installed. We will now install DBGP plugin for Notepad++. Check documentation to know what all these configuration do, and tweak according to your preference. With these steps you have, finished xdebug installation, it is configured for profiling application and remote debugging. Just create a folder ‘xdebug’ in ‘c:wamptmp’ folder. ![]() Xdebug.remote_log="c:/wamp/tmp/xdebug/xdebug_remot.log" Xdebug.profiler_output_name = "cachegrind.out.%p" Xdebug.profiler_output_dir = "c:/wamp/tmp/xdebug" Add following at the end of your php.ini file.Now we need to configure xdebug so that it get recognized by PHP, so open php.ini.Copy xdebug dll file into php’s extension directory, in my case, as I use wamp, it is c:wampphpext.Download the latest release of xdebug for PHP version you are using.In this post we will setup xdebug and DBGp plugin with Notepad++. Well, thanks to xdebug you can now debug, and you don’t need expensive or blotted IDE for that, just plain and simple Notepad++ can do the job. We all know that this way debugging is hard and you need to remember to remove them from production server. I am sure all of you have used ‘echo’ and ‘print_r’ to debug PHP. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |