hideDebugInformation still displays debug info #1935
-
|
trying to return json but cant suppress debug info. Can do it a a server level but am having difficulty within the app (in development mode). function index() { JSON is there in response but getting lost in the subsequent debug info {"1":{"sortorder":"","description":"bbb","title":"eee","id":1,"url":"https://wheels.dev/docs"},"2":{"sortorder":"","description":"lll","title":"eeekkk","id":2,"url":"localhost/urls"}} </noframes></plaintext></script></textarea></title></xmp> <style type="text/css"> .cfdebug { color:black; background-color:white;does anyone have a suggestion to help my sanity |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
@marshmob I tried your approach with this controller code: and this view code: when the but when the i have my site set to development mode so it seems to be working correctly. |
Beta Was this translation helpful? Give feedback.


@marshmob I tried your approach with this controller code:
and this view code:
when the
hideDebugInformationis set to false then it prints the wheels debug footer with the json:but when the
hideDebugInformationis set to true then it prints only the json:i have my site set to development mode so it seems to be working correctly.