# How can I do? If i want a debug node to show status when fins protocol get timeout

**URL:** <https://discourse.nodered.org/t/how-can-i-do-if-i-want-a-debug-node-to-show-status-when-fins-protocol-get-timeout/74526>\
**Category:** General\
**Tags:** function-node, mqtt\
**Created:** [1 February 2023 02:00 UTC](https://discourse.nodered.org/t/how-can-i-do-if-i-want-a-debug-node-to-show-status-when-fins-protocol-get-timeout/74526 "2023-02-01T02:00:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![khunakon](https://avatars.discourse-cdn.com/v4/letter/k/3da27b/32.png) [@khunakon](https://discourse.nodered.org/u/khunakon)\
**Post date:** [1 February 2023 02:00 UTC](https://discourse.nodered.org/t/how-can-i-do-if-i-want-a-debug-node-to-show-status-when-fins-protocol-get-timeout/74526/1 "2023-02-01T02:00:06Z")

</div>

If i want a debug node to show status when fins protocol get timeout , How can i do?  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/9/49823e65470eb67c5ae95cdf50d39d7c00312cc4.png)

---

<div class="post-metadata">

**Author:** ![magicfire](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/magicfire/32/93420_2.png) [@magicfire](https://discourse.nodered.org/u/magicfire)\
**Post date:** [1 February 2023 06:12 UTC](https://discourse.nodered.org/t/how-can-i-do-if-i-want-a-debug-node-to-show-status-when-fins-protocol-get-timeout/74526/2 "2023-02-01T06:12:55Z")

</div>

Hi, one method is to modify the code of the node.  
For example, I have a serial node which show the connect status.

 ![1675231727171](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/1/8135fdb960334ff649e4d63da5088171d5244968.png)

View the code of this node, you may find out the corresponding js code below:

 ![1675231817880](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/c/fc5e169e858ee7a80476c5219394f9acc20ba498.png)

Next step, you may add your own code , to output the key status you're interesting in to a debug node or so.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [1 February 2023 06:43 UTC](https://discourse.nodered.org/t/how-can-i-do-if-i-want-a-debug-node-to-show-status-when-fins-protocol-get-timeout/74526/3 "2023-02-01T06:43:50Z")

</div>

Add a status node with a debug node. It will propagate the status, color and the text

@magicfire same for you.

---

<div class="post-metadata">

**Author:** ![magicfire](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/magicfire/32/93420_2.png) [@magicfire](https://discourse.nodered.org/u/magicfire)\
**Post date:** [1 February 2023 08:15 UTC](https://discourse.nodered.org/t/how-can-i-do-if-i-want-a-debug-node-to-show-status-when-fins-protocol-get-timeout/74526/4 "2023-02-01T08:15:47Z")

</div>

> [@bakman2](#):
>
> status node

Thanks, I tried and got the status.

 ![1675239328177](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/6/d61ee01c12ca243490959f78ca09a8652c09dca7.png)

Learned something new 😉

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [2 April 2023 08:16 UTC](https://discourse.nodered.org/t/how-can-i-do-if-i-want-a-debug-node-to-show-status-when-fins-protocol-get-timeout/74526/5 "2023-04-02T08:16:44Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
