# How to debug a function Node?

**URL:** <https://discourse.nodered.org/t/how-to-debug-a-function-node/38024>\
**Category:** Feature Requests\
**Created:** [26 December 2020 08:40 UTC](https://discourse.nodered.org/t/how-to-debug-a-function-node/38024 "2020-12-26T08:40:50Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [26 December 2020 14:36 UTC](https://discourse.nodered.org/t/how-to-debug-a-function-node/38024/14 "2020-12-26T14:36:23Z")

</div>

> [@TotallyInformation](#):
>
> So my takeway from that is that `node.debug` does not have any output by default? Surely that is not what is being asked for here? The ask was for a simple, discoverable way to output information to the debug sidebar that wasn't coloured for warn/error.

Which is precisely the topic of the thread linked to at the start where I polled the community for input on what the API should be to do this.

I just can't remember where we ended up in terms of implementing it.

Given I'm on holiday, I'm not digging in to it any deeper right now, but the plan will be for node.debug to log to the debug sidebar. I assumed I'd already implemented that, but I guess not.

---

_[View the full topic](https://discourse.nodered.org/t/how-to-debug-a-function-node/38024)._
