When you write to the browser console in Firefox or Chrome (e.g. console.log("foo")), the console will show a clickable link to the source location of the console.log(...) call. Please support links to source locations (i.e. a Source object with line and column) in the debug protocol and VS Code.
