Debugging Node-RED ui_base.js File from FlowFuse Dashboard

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?

Duplicate of Debugging Node-RED ui_base.js and Understanding WebSocket Behavior