
#Xdebug 3 idekey code#
To prevent NetBeans from storing it's files in your source code directory, check the " Put NetBeans metadata into a separate directory" box and specify the folder where these files should be stored.The default UTF-8 should be correct for most situations.If PHP isn't in your path, you may need to change to the directory where the PHP.exe application is located. If you aren't sure, type the following at a Command prompt or verify your log files: php -version . Specify the version of PHP you will be using.This can be anything as long as it is different from other existing NetBeans projects you might have. This is where you source code currently exists.

#Xdebug 3 idekey how to#
The following instructions describe how to create a new NetBeans project using existing source code and without storing NetBeans' own project files in your original source code directory tree. Importing Existing Source Code into NetBeansĬreating a new NetBeans project from an existing source code folder/files is easy. Next we will XDEBUG enable your web browser. It should now be configured and ready to use. You may need to close and restart NetBeans for the changes to take effect as I discovered that they don't always take effect right away when you save. Important: You will need to repeat these last two steps anytime you create a new project. 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.
#Xdebug 3 idekey windows#
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.

Way too much work to try and find information. While I'm sure it's a fine product, the website is ancient and not user friendly. Eclipse (PDT) 3.5 - Didn't bother trying it.There are many great IDE's out there and everyone will have their favourite. I compared features of 9 different IDE's for PHP development and reading tons of reviews. After spending way more time that I should like to admit trying to get XDEBUG to work with Notepad++ using the DBGp plugin in anything but the simplest of projects, I decided to look for an alternative.
