# How to debug ghost blog in development mode?

**URL:** <https://forum.ghost.org/t/how-to-debug-ghost-blog-in-development-mode/34873>\
**Category:** Self-hosting\
**Created:** [December 17, 2022, 1:44pm UTC](https://forum.ghost.org/t/how-to-debug-ghost-blog-in-development-mode/34873 "2022-12-17T13:44:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aditodkar](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/aditodkar/32/16089_2.png) [@aditodkar](https://forum.ghost.org/u/aditodkar)\
**Post date:** [December 17, 2022, 1:44pm UTC](https://forum.ghost.org/t/how-to-debug-ghost-blog-in-development-mode/34873/1 "2022-12-17T13:44:46Z")

</div>

I am trying to debug posts data in post.hbs file Casper theme.

Code:

```auto
{{#get "posts" as |allposts|}}
       {{#each allposts}}
               {{ this }}
        {{/each}}
{{/get}}

```

Above code [Object Object] in webpage but if I use {{ log this }} I don’t see any logs in console. Any idea why so? Also is it possible to add custom helpers in ghost to output data?

---

<div class="post-metadata">

**Author:** ![vikaspotluri123](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vikaspotluri123/32/24_2.png) [@vikaspotluri123](https://forum.ghost.org/u/vikaspotluri123)\
**Post date:** [December 17, 2022, 7:23pm UTC](https://forum.ghost.org/t/how-to-debug-ghost-blog-in-development-mode/34873/2 "2022-12-17T19:23:48Z")

</div>

> [@aditodkar](#):
>
> {{ log this }} I don’t see any logs in console

Which console are you referring to? The log helper will output to your Ghost logs, so you _should_ see it when running `ghost log -f`
