Monday, January 14, 2013

Re: DebugKit behaviour

No, it should always show by default.

Also - debug() has nothing to do with the plugin.
You can use ans many debug() as you want anywhere in your code.
Just notice that outputting data before actually rendering the view usually messes up the output (it also affects headers like the redirect header).
In those cases logging might usually be the better approach.


Am Montag, 14. Januar 2013 17:21:47 UTC+1 schrieb McScreech:


On Monday, January 14, 2013 11:12:05 AM UTC-5, McScreech wrote:
Hello, [ Apache 2.2.22 (Win32), MySQL 5.5.21, PHP 5.3.5, cakePHP 2.2.1 ]

I'm having odd (IMO) behaviour from DebugKit - the toolbar only shows up if there are errors on the page and NOT if it renders correctly.

Is this expected behavior? If so, how do I force the DebugKit toolbar to always display?

Not sure what version of DebugKit I am using, how do I check that I am using the correct one for cakePHP 2.2.1?

TIA, McS

PS Does using additional 'debug()' statements in code conflict with the plugin? McS

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: