# 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:** 5

<div class="post-metadata">

### Author: ![PizzaProgram](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/pizzaprogram/32/19431_2.png) [@PizzaProgram](https://discourse.nodered.org/u/PizzaProgram)
#### Post date: [26 December 2020 09:42 UTC](https://discourse.nodered.org/t/how-to-debug-a-function-node/38024/5 "2020-12-26T09:42:09Z")

</div>

Also, as the [original topic](https://discourse.nodered.org/t/survey-logging-to-debug-sidebar/21253) recommended:  
Please enhance NR, so the:

# `console.log()` messages appear at the Debug sidebar too!

IMHO just because "only" 13% of us voted for this, doesn't necessary mean this possibility should be dropped.

And yes, IMHO `node.log()` should appear at the sidebar too!

- Why on earth is it disabled? Isn't that a BUG?

... maybe 3-4 tiny "filter buttons" would make it easier to reduce, if not needed:

[i] ❌ [w] ✅ [e] ✅ [d] ❌

---

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