Node Red Inspect JS

hi,
I have a function node that isn’t working so I’d like to Inspect it using Chrome Dev Tools or VS code using

for dockers it says to start node red with argument:

node  --inspect=127.0.0.1 --inspect-brk  /usr/bin/node-red

which achieves " An extra port mapping -p 9229:9229 need to be added to the Node-RED Docker command"
what about NR as an add-on in HA OS?