There is a reference to different Actions in the Documentation, like this:
What the action actually means?
There is a reference to different Actions in the Documentation, like this:
What the action actually means?
Hi and Welcome,
These actions are triggered mainly by shortcuts. As in your image, shortcut ctrl-g d
will open the debug sidebar tab. These actions are used for a multitude of things like copying nodes, pasting nodes...
Hi and thanks for a quick answer.
Is it possible to trigger such action otherwise, than with a keyboard shortcut?
What sort of otherwise? Remember this is running in the browser, not the node-red server.
Depends if you mean from the code or a user action:
show action list
RED.actions.invoke("action-name")
If one were to run that for code:show-debug-tab will it affect all editor browser sessions?
From within a flow.
Sorry, I don't understand how that answers my question. If I call RED.actions.invoke("code:show-debug-tab")
in a function node, which browser session (or perhaps all) will that apply to?
is a client side thing only. i.e. it is triggered by the action list or by a custom node (the HTML/client side part).
A flow runs server side. show debug is a client side thing. In short, no!
Yes of course, I should have remembered that. Thanks.
So does that mean that there is no way to clear debug messages from within a flow?
No, there is no way to clear a user's client-side debug messages from a flow or any other server side operation.
There may be a plug-in or contrib node that does this, but not that I know of.
If you are willing/able to create a plugin, you could do it yourself.
OK, thanks.