# Debugging a subflow

**URL:** <https://discourse.nodered.org/t/debugging-a-subflow/63647>\
**Category:** General\
**Created:** [9 June 2022 00:33 UTC](https://discourse.nodered.org/t/debugging-a-subflow/63647 "2022-06-09T00:33:26Z")\
**Posts on this page:** 4\
**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:** [9 June 2022 00:33 UTC](https://discourse.nodered.org/t/debugging-a-subflow/63647/1 "2022-06-09T00:33:27Z")

</div>

Guys,

NR 2.2.2

I took a number of discrete nodes that were performing a function for me and that i thought were tried and proven - these included a couple of debug nodes that were set to output a status message (underneath the debug) as well as to the sidebar.

I turned this group of nodes into a sublow and created the appropriate links into it (it does not send out any info as it is used to do some calculations and then set global variable)

How do i see the debug info (can i ?) to enable future debugging ?

Or am i better off setting this up as a flow and just using link nodes ?

Craig

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [9 June 2022 04:54 UTC](https://discourse.nodered.org/t/debugging-a-subflow/63647/2 "2022-06-09T04:54:54Z")

</div>

Maybe add a status output to your sub flow ?

---

<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:** [9 June 2022 05:06 UTC](https://discourse.nodered.org/t/debugging-a-subflow/63647/3 "2022-06-09T05:06:37Z")

</div>

OK have not used that before will play around and see what it does

At this stage i have moved it back into a seperate flow with link nodes

Craig

---

<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:** [8 August 2022 05:07 UTC](https://discourse.nodered.org/t/debugging-a-subflow/63647/4 "2022-08-08T05:07:00Z")

</div>

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