# \_\_debuginfo() must return an array

**URL:** <https://forum.getkirby.com/t/debuginfo-must-return-an-array/10557>\
**Category:** Questions\
**Tags:** v2\
**Created:** [June 3, 2018, 7:37pm UTC](https://forum.getkirby.com/t/debuginfo-must-return-an-array/10557 "2018-06-03T19:37:05Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![steirico](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/steirico/32/5466_2.png) [@steirico](https://forum.getkirby.com/u/steirico)\
**Post date:** [June 4, 2018, 8:28pm UTC](https://forum.getkirby.com/t/debuginfo-must-return-an-array/10557/3 "2018-06-04T20:28:56Z")

</div>

Thanks for the suggestion regarding debugging hooks.  
The fact that plugins such as [this one](https://forum.getkirby.com/t/kirby-hooks-debugger/4982) exist makes it obvious that hooks are tricky in regards to debugging.

But what about this?

> [@steirico](#):
>
> 1. Debugging custom Filelds with `xdebug` :

Is there anybody out there using `xdebug` for kirby development?

---

_[View the full topic](https://forum.getkirby.com/t/debuginfo-must-return-an-array/10557)._
