wkempees
Posts: 1679
|
Posted: 09/09/2008, 6:07 AM |
|
PhP5 Debugging from within the browser is enabled by:
Mozilla firefox 3+
Firebug 1.2.0 (http://getfirebug.com/)
FirePhP 0.1.2 (http://www.firephp.org/)
optional,but required for serious work:
WebDevelepor Toolbar (http://chrispederick.com/work/web-developer/)
Many times over, request for PhP Debugging streamed through this forum.
Although I also would like to see some form of debugging included, I realize it is more a language specific tool then a CCS requirement.
The (new) bit here being FirePhP.
I just had a look at it, installed and within a few minutes created a workable debugging environment.
The install is easy documented here http://www.firephp.org/ and requires us PhP CCS'ers to add :
- content of the zip/tar file to the project directory ( do not forget to at least set 'publish' to all files)
- the include as described
require(RelativePath . '/lib/FirePHPCore/fb.php');
ob_start();
either to the bottom of Common.php last white lines,
or to the AfterInitialize of the page to be/being debugged.
from then on it is a matter of following the directives given by FirePhP:
Start FireBug, enable NET panel
Add debugs as needed.
Recommended.
Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)
if you liked this info PAYPAL me: http://donate.consultair.eu
|
|
|
maxhugen
Posts: 272
|
Posted: 09/09/2008, 4:44 PM |
|
Thanks for the tip, Walter!
FirePHP will be quite a help, esp when using AJAX!
Cheers, Max
_________________
Max
www.gardenloco.com | www.eipdna.com | www.chrisarminson.com |
|
|
Stanj
Posts: 166
|
Posted: 09/09/2008, 10:47 PM |
|
Wow, so easy. This is one of the best tips so far. I have downloaded and setting up now.
You are right about the debug tools are so language specific that it does not make sense to have it native to CCS.
Thanks a lot Walter
_________________
Stan
St Petersburg Russia |
|
|
|