# Function as a Switch with Multiple Outputs

**URL:** <https://discourse.nodered.org/t/function-as-a-switch-with-multiple-outputs/9553>\
**Category:** General\
**Created:** [28 March 2019 16:17 UTC](https://discourse.nodered.org/t/function-as-a-switch-with-multiple-outputs/9553 "2019-03-28T16:17:58Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Atrophius](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/atrophius/32/7140_2.png) [@Atrophius](https://discourse.nodered.org/u/Atrophius)\
**Post date:** [28 March 2019 16:48 UTC](https://discourse.nodered.org/t/function-as-a-switch-with-multiple-outputs/9553/6 "2019-03-28T16:48:38Z")

</div>

Figured it out. Apparently the debug panel had detached or something so none of my debug messages were showing up until I refreshed the editor. It was working the whole time, I just couldn't see any debug output.

---

_[View the full topic](https://discourse.nodered.org/t/function-as-a-switch-with-multiple-outputs/9553)._
