When debugging, is it possible to watch return-values in VSC? and how? I can't find an option to watch auto-variables like Visual Studio has
When debugging, is it possible to watch return-values in VSC? and how? I can't find an option to watch auto-variables like Visual Studio has
See https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_44.md#reference-returnvalue-in-watches-and-debug-console JAVASCRIPT
With v1.44:
Reference $returnValue in Watches and Debug Console
When it's availble in the callstack, you can now reference the function's
$returnValuein the debug console and watch expressions.
So it can be used in the Watch view and the debug console.