Omnisharp-vscode: Debugger should support authentication with symbol server and source link

Created on 26 Feb 2018  路  9Comments  路  Source: OmniSharp/omnisharp-vscode

In 1.15, the debugger added support for Source Link and Symbol Server. However, it currently doesn't support either symbol servers or source link endpoints that require authentication.

This feature request tracks adding support for either or both of these. My guess is that we would want to do both at the same time, but I could be wrong.

Workaround

Manually clone the repo/source repository and add a sourceFileMap entry to your launch.json.

Debugger Feature Request Triaged

Most helpful comment

Correct

All 9 comments

Hey Guys,

I presume this is an issue for private Azure Dev Ops repositories then as I'm getting a 401 when trying.

Correct

@gregg-miskelly thanks for the reply. Is there a spec for this and is it up-for-grabs?

Is this planned out at all for a (near-)future version of VSCode? Maybe a way to provide a local fallback for such scenarios?

@ransagy by 'local fallback' do you mean pointing at a local source file? Local source files should always take precedence over SourceLink -- you want to add a sourceFileMap to your launch.json.

We don't have a timeline for the feature currently. It is not particularly easy to do as we need some sort of cross-platform credential UI to do it right.

Hah, missed that bit of the docs, damn.
I completely understand this is nowhere near easy, Just wanted to gauge if there's any work being done towards it, so that answers both my questions. Thanks!

@ransagy It was a good question, so thanks for asking it. I added a 'Workaround' section above to hopefully make it more obvious.

I guess traditional VS taught me to expect that "where is your source" dialog, hence i assumed it's not implemented.

@gregg-miskelly any news on the this one fella?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kiminuo picture kiminuo  路  3Comments

visten picture visten  路  4Comments

mattwoberts picture mattwoberts  路  3Comments

tstivers1990 picture tstivers1990  路  3Comments

slevengood picture slevengood  路  3Comments