# Node Status (like debug node) for function nodes?

**URL:** <https://discourse.nodered.org/t/node-status-like-debug-node-for-function-nodes/5245>\
**Category:** General\
**Created:** [27 November 2018 19:52 UTC](https://discourse.nodered.org/t/node-status-like-debug-node-for-function-nodes/5245 "2018-11-27T19:52:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![craigcurtin](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Post date:** [27 November 2018 19:52 UTC](https://discourse.nodered.org/t/node-status-like-debug-node-for-function-nodes/5245/1 "2018-11-27T19:52:21Z")

</div>

Guys,

Quite often with my flows i will put a debug node after a function node and click the property node status and just have it display the debug value on the screen (instead of in the debug window) - obviously this can lead to a lot of debug nodes.

Wondering is it possible to do the same thing with a function node and have it output a configurable status line underneath itself - one that we would either program within the function node itself or one that could be activated by a checkbox etc. THis would save some screen real estate and tidy things up a little (for me at least)

Is this possible now and i have not worked out how to do it - or would this be an enhancement ?

regards

Craig

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [27 November 2018 19:59 UTC](https://discourse.nodered.org/t/node-status-like-debug-node-for-function-nodes/5245/2 "2018-11-27T19:59:02Z")

</div>

You can do it with `node.status` [https://nodered.org/docs/writing-functions#adding-status](https://nodered.org/docs/writing-functions#adding-status)

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [27 November 2018 20:13 UTC](https://discourse.nodered.org/t/node-status-like-debug-node-for-function-nodes/5245/3 "2018-11-27T20:13:31Z")

</div>

The docs on the website are marvellous things...😉[https://nodered.org/docs/writing-functions](https://nodered.org/docs/writing-functions)

---

<div class="post-metadata">

**Author:** ![craigcurtin](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Post date:** [27 November 2018 22:13 UTC](https://discourse.nodered.org/t/node-status-like-debug-node-for-function-nodes/5245/4 "2018-11-27T22:13:51Z")

</div>

thank you very much guys !!! Seemed like a great idea i had - someone else just beat me to it !

Craig

---

<div class="post-metadata">

**Author:** ![JayDickson](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jaydickson/32/90592_2.png) [@JayDickson](https://discourse.nodered.org/u/JayDickson)\
**Post date:** [27 November 2018 23:56 UTC](https://discourse.nodered.org/t/node-status-like-debug-node-for-function-nodes/5245/5 "2018-11-27T23:56:14Z")

</div>

Any time you come up with a "new" idea and find out it's already a thing, just think of it as a sign that you're grasping the level you work at now and are ready to step things up a notch and play even harder.
