-
Notifications
You must be signed in to change notification settings - Fork 677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugger should support authentication with symbol server and source link #2071
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 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. |
@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? |
@gregg-miskelly any chance that this will get looked at soon? |
Unfortunately, the status of this feature is unlikely to change anytime soon. It is not particularly easy to do as we need some sort of cross-platform credential UI to do it right. Also, the debugger team is currently fully booked on other work. |
@gregg-miskelly isn't that what the https://github.com/microsoft/Git-Credential-Manager-Core is supposed to be for? |
@CRuppert That might be a good option. GCM Core is one of the things we use in Visual Studio. |
@gregg-miskelly just wanted to circle back around on this issue. Is this being considered any time in the next few quarters? |
The debugger team doesn't currently have time booked for this. Prioritizations change often, so it is certainly possible, especially if this got enough up votes. But its not something that I can promise. |
Thanks for the reply @gregg-miskelly. I get it, it would just be a really helpful feature for organizations like mine with private repos. 😞 |
We are waiting this improvement like 🙇♂️🙇🙇♀️ |
please |
Is there a place to vote for this feature? Also, i have been trying to use the sourceFileMap without success with vs code where debugging a dll. Is there a way to diagnostic the problem with the source map and is there a documentation explaining with a real use case? I read the foo example but what is the "c:\foo" in the case the dll is build on a build server does it represent the original build path?
I have tried to set some key map but keep receiving Error: Unable to Locate Source File message because of authentication issue do it's look like the map not working.
|
@gregg-miskelly |
@gregg-miskelly Would be possible to use personal access token? This way wouldn't be needed an UI. Just add the PAT somewhere in the extension setting. (Rider uses the same approach to fetch sources from private repos) |
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.The text was updated successfully, but these errors were encountered: