Ok, so I initially installed from NPM & ran node-red which creates c:\users\user\.node-red (though I am sure that should work running from src)
I note you have preLaunchTask set (so you probably got your original vscode settings from one of my earlier posts) but did you also add the entry to tasks.json?
Not really. That is using the SRC settings.js - that shouldnt be used or modified.
What you need to understand is, when node-red is ran for the first time, it creates c:\users\user\.node-red folder with a flows file and settings file etc.
Also, that version of launch.json doesnt build node-red src so you'd have to run npm: build-dev every time manually before hitting F5.
If you use the first version and answer my prev questions I will try to help.
Also, can i ask, what is your intent? is this for modifying node-red core or for debugging function nodes you have written in node-red editor or for debugging own custom node development?
my intent is to develop an new node - btw. is there an extension in vscode that will intellisense the "customnode.js" from my newly created node ?
Example:
in the example node if creating a new node there is a line like msg.payload = msg.payload.toUpperCase();
Here i find its very exhausting to know every method? But its complicated because payload is "any" !?
So i'm searching for an intellisense extension?!