Debug info Stopped Working

Hi, while trying to create a backup process for node red on my raspberry pi & firefox I noticed there was some updates, I installed the updates and now if I use any Debug nodes I don't get anything in the debug window, can they get switched off somehow ?

Thanks

Refresh your browser to ensure you have latest deployed flow. Check to see if flows are running and that debug buttons are in the correct state.

If that doesn't work, check your browsers console log and your node-red log.

1 Like

Thanks Steve

I will check it

Hi Steve,

I checked the Firefox console and found this:

Uncaught TypeError: RED.utils.truncateString is not a function
    processDebugMessage http://localhost:1880/debug/view/debug-utils.js:545
    handleDebugMessage http://localhost:1880/debug/view/debug-utils.js:395
    handleDebugMessage http://localhost:1880/#flow/c3d00b074cf26e86 line 2 > injectedScript:375
    onmessage http://localhost:1880/red/red.min.js?v=0547c66bc655:16

I am not sure if it is related but after a browser refresh the Debug info started reappearing

Thanks

RED.utils.truncateString was added ~1y ago - I suspect you have had a partial browser cache issue coupled with a version upgrade or downgrade (to/from a version of node-red that does/does not have this utility function).

Just monitor the situation - should be 100% resolved for you.

1 Like

Hi Steve

you are very knowledgeable

Thanks