# Debugging Node-RED ui\_base.js File from FlowFuse Dashboard

**URL:** <https://discourse.nodered.org/t/debugging-node-red-ui-base-js-file-from-flowfuse-dashboard/91130>\
**Category:** Dashboard\
**Tags:** node-red-dashboard, dashboard-2\
**Created:** [20 September 2024 05:30 UTC](https://discourse.nodered.org/t/debugging-node-red-ui-base-js-file-from-flowfuse-dashboard/91130 "2024-09-20T05:30:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nandhini-Subramaniya](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nandhini-subramaniya/32/92882_2.png) [@Nandhini-Subramaniya](https://discourse.nodered.org/u/Nandhini-Subramaniya)\
**Post date:** [20 September 2024 05:30 UTC](https://discourse.nodered.org/t/debugging-node-red-ui-base-js-file-from-flowfuse-dashboard/91130/1 "2024-09-20T05:30:54Z")

</div>

I'm encountering an issue where the functions inside `ui_base.js` are not being called, even though the `init` function is executed. I’ve tried setting breakpoints in Node-RED, but they are not being hit.

**What I’ve tried:**

- Method 1: Tried debugging through Node-RED, but breakpoints in the `ui_base.js` file located at `/home/nandhini/CTCDSERV/nodered/node-red/node_modules/@flowfuse/node-red-dashboard/nodes/config/ui_base.js` aren’t working.
- Method 2: Used the CLI with `node --inspect ui_base.js` to try and debug the same file.

Any suggestions on how I can properly debug the `ui_base.js` file in Node-RED? Specifically, how can I ensure that breakpoints are hit and function calls are tracked?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [20 September 2024 06:05 UTC](https://discourse.nodered.org/t/debugging-node-red-ui-base-js-file-from-flowfuse-dashboard/91130/2 "2024-09-20T06:05:36Z")

</div>



---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [20 September 2024 06:05 UTC](https://discourse.nodered.org/t/debugging-node-red-ui-base-js-file-from-flowfuse-dashboard/91130/3 "2024-09-20T06:05:55Z")

</div>

Duplicate of [Debugging Node-RED ui\_base.js and Understanding WebSocket Behavior](https://discourse.nodered.org/t/debugging-node-red-ui-base-js-and-understanding-websocket-behavior/91131)
