![]() Select Do Not Open Web Browser and click OK twice.Click File > Project Properties > Run Configuration > Advanced button.Click the Debugging tab and make sure that:. ![]() The following instructions are for NetBeans 8 but it should be fairly similar with other versions: Step 2- Configure NetBeans to work with XDEBUG If your version of AMP did not come with XDEBUG, Follow the instructions found on the XDEBUG Installation Wizard page. Check the ext or zend_ext folder to get the correct name for your version of AMP. Xdebug.remote_log = "c:/wamp/tmp/xdebug/xdebug_remot.log"Īs you can see, the actual filename and location for the php_xdebug.dll file may vary. Xdebug.profiler_output_dir = "c:/wamp/tmp/xdebug" Xdebug.profiler_output_name = "cachegrind.out.%t-%s" Xdebug.profiler_output_dir = "c:/xampp/tmp/xdebug" zend_extension = "c:/xampp/php/ext/php_xdebug.dll" Then add the following, making sure to modify the lines that refer to your XAMPP path (doesn't work with the Lite version). Next comment out everything under the section. Start by commenting out anything that refers to ZEND… by adding a semi-colon in front (to the left) of the line. I also wish it had Timed Backups feature like in Notepad++.Īssuming you've downloaded and installed NetBeans, here's how to get it to work with XDEBUG: Step 1 - Configure PHP to work with XDEBUG What was it missing? Like many of the cross-platform IDE's, it's a Java application which means it is slower than it could be on Windows. It includes almost all of the features I regularly use and plugins to fill in the gap. ![]() There are tons of stories on the Net from developers switching from Eclipse to NetBeans but very few going in the other direction. PHPDesigner is even a native Windows app which is why I might still consider it. Some of the try before you buy contenders included PhpStorm 7.13 and PHPDesigner 8.1.2. ![]() My problem was part technology and part learning what I wanted to do in NetBeans which was to initiate the debugging session from within my web browser without having to modify the URL.Īlthough both of these are free, I would not have minded paying for an IDE for PHP development since I do a fair amount of this for a living. It did take me a little to figure out the XDEBUG integration but I got it to work exactly as I expected.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |