Overview
KB
Learn PHP
PHP techniques
PHP Smarty Functions
PHP Web Email
Secure development
PHP Security Scenario
SSH and SFTP
PHP Smarty
PHP Smarty Modifiers
PHP Smarty Caching
PHP Smarty Misc
CakePHP
Zend Framework
PHP basics

CakePHP Development

Debugging CakePHP

Every program has bugs in it, waiting to be found and fixed. PHP Debugger helps doing just that and naturally we would like to be able to debug CakePHP applications as well. Whether you are running Apache and PHP installed by TechPlatform or by any other package, on Linux, Windows or other platform, you can certainly debug CakePHP with PhpED and dbg-PHP Debugger.

How to configure PHP Debugger for CakePHP

To debug any PHP application with PhpED (or actually any other PHP IDE) you need two things:
  • PHP Debugger module installed with your PHP and loaded in php.ini
  • Correct Project settings
Please note, that if your project is setup the way we assumed in the beginning of this tutorial, you already have the mapping needed for the debugging in place and all you need to do is to install dbg module.
In any case you can get both of them with the help of dbg-wizard script. When you run dbg-wizard it will give you the instructions to follow to install dbg module and project settings. TechPlatform comes with dbg module already installed, but it has the free version of dbg debugger and you need to replace it with commercial version available under your PhpED installation directory.
  • Window's modules of commercial PHP debugger are located in:
    C:\Program Files\nusphere\phped\debugger\server\Windows - assuming that you installed PhpED in the default location.
  • TechPlatform pre-installed dbg modules can be found at:
    C:\Program Files\nusphere\TechPlat\apache\php\ext - you can copy commercial dbg from the location above to this directory
  • FYI, TechPlatform php.ini file is at C:\Program Files\nusphere\TechPlat\apache\bin, but you won't need to edit it.
  • The full matrix of dbg modules built for various platforms is available here: http://www.nusphere.com/products/debugging_php.htm and
  • You can always learn more about PHP Debugger configuration settings in our FAQ
Should you have any trouble getting PHP Debugger to work - please don't hesitate to Contact Us

Article continues:  <<previous page  next page>>

 Download NuSphere PHP IDE

Download a free trial of the fast PHP EDitor and robust Integrated Development Environment for PHP.

 Buy NuSphere PhpED® now

Best PHP Editor and complete PHP IDE.
NuSphere PhpED 19.0 is available from our online store front.

 Special Team4 Offer

Get 4 copies of PhpED for the price of 3!

Optimum solution for development teams.
PhpED 19.0 Team4
Need more than 4 licenses? Contact Us for more quantity discounts, please use "Ordering/Payment issue" subject on the form.
"To be honest its bloody awesome, I have looked at loads of PHP editors and this is THE only one that actual works straight out of the box!!! Brilliant, well done."
Andrew Breward,
Director of Technology
caboodal.com