Tips for Customizing the Layout of NetBeans for Productive Debugging in PHP

Here are a few productivity tips to make editing and debugging PHP code easier in NetBeans by just modifying the editor’s layout. Display the NetBeans Debugging Window Click Window > Debugging and select the desired debugging tabs. In NetBeans 8.0, your options will include: Variables Watches Call Stack Breakpoint Session Threads Sources Debugging Display a list of your PHP functions in NetBeans In NetBeans, the function list is called Navigator. To display a list of the PHP functions in the currently opened file, simply toggle the navigator by pressing Ctrl+7. Add a Debug File Icon to the NetBeans Toolbar To … Continue reading

Making XDEBUG work with NetBeans on Windows

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. I compared features of 9 different IDE’s for PHP development and reading tons of reviews. There are many great IDE’s out there and everyone will have their favourite. My short list ended up including: Eclipse (PDT) 3.5 — Didn’t bother trying it. While I’m sure it’s a fine product, the website is ancient and not user friendly. Way too much work to try and … Continue reading