1

I am a beginner of cakephp. I am using netbeans IDE. Is there any netbeans plugin for debugging cakephp script ?

2

2 Answers 2

2

I would just use XDebug. Here is a link on how to set up XDebug with NetBeans http://wiki.netbeans.org/HowToConfigureXDebug

Sign up to request clarification or add additional context in comments.

Comments

1

You can always put

debug($variable);
die; //if you want to stop the program

and you will get the value of the variable. It's like printf(); for C if you are not using debugger. :D

3 Comments

gark, yes you can, and that's sometimes the easiest thing, but much nicer to use the proper debugger: xdebug.
I agree that is nicer but, most of my development time, I just need to print a variable. Nothing else... So the "printf", ups, "debug" is a great solution. ^^
Agreed, but in Stackoverflow answers you should always at least mention the right way as well as the quick way ;)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.