Open qslcna opened 2 years ago
launch.json
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
// https://github.com/omnisharp/omnisharp-vscode/blob/master/debugger-launchjson.md
// https://github.com/OmniSharp/omnisharp-vscode/wiki/Debugging-into-the-.NET-Framework-itself
"version": "0.2.0",
"configurations": [{
"name": ".NET Core Launch (web)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/Web/bin/Debug/net5.0/Web.dll",
"args": [],
"cwd": "${workspaceFolder}/Web",
"stopAtEntry": false,
"serverReadyAction": {
"action": "openExternally",
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development",
"COMPlus_ZapDisable": "1",
"COMPlus_ReadyToRun": "0",
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
},
"justMyCode": false,
"symbolOptions": {
"searchMicrosoftSymbolServer": true,
"searchNuGetOrgSymbolServer": true
},
"suppressJITOptimizations": true,
"sourceLinkOptions": {
"https://raw.githubusercontent.com/*": {
"enabled": true
},
"*": {
"enabled": false
}
}
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
}
]
}
I have try :
"http.proxy"="http://localhost:1080"
https_proxy=http://localhost:1080
not working:(
Environment data
dotnet --info
output:VS Code version: C# Extension version:
OmniSharp log
Steps to reproduce
Expected behavior
the source file of List.cs
Actual behavior
Additional context
this is absolutely a network issue. Because the browser also can't open this link without proxy.
how to make omnisharp-vscode download source code through proxy.