Settings file not found on debugging with vscode

There is not. payload can be anything by design.

however, if you mean inteliisense for things like node and javascript function then use jsdoc to instruct vscode of the type...

/** @type {string} */ var payload = msg.payload */ 


Ok, so you dont need to run node-red from src.

all you need to do is...

  • follow the normal NPM install from node-red docs
  • run node-red once (i.e. node-red) to generate the flows and settings files
  • use this guide to run node-red in vscode
1 Like