watching return-values in Visual Studio Code

Visual Studio Code recently supported this - the returned value can be found under "Local": enter image description here


With v1.44:

Reference $returnValue in Watches and Debug Console

When it's availble in the callstack, you can now reference the function's $returnValue in the debug console and watch expressions.

So it can be used in the Watch view and the debug console.

return value