Launch.json
Useful properties for the .vscode/launch.json
breakOnError
When you run the debugger, it immediately stops at this line:

To avoid this frustrating behavior, set the breakOnError property to ExcludeTry. After that, the debugger will no longer stop on errors inside the TryFunction.