Visual Code的調試


Run 'Debug: Download .NET Core Debugger' in the Command Palette or open a .NET project directory to download the .NET Core Debugger

 

https://code.visualstudio.com/docs/editor/debugging

https://code.visualstudio.com/docs/languages/csharp

Please set up the launch configuration file for your application.

command 'csharp.listProcess' not found

 

 

Updating C# dependencies...
Platform: win32, x86_64

Downloading package 'OmniSharp (.NET 4.6 / x64)'    Retrying from 'https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x64-1.21.0.zip' Downloading package '.NET Core Debugger (Windows / x64)'   Retrying from 'https://vsdebugger.blob.core.windows.net/coreclr-debug-1-10-1/coreclr-debug-win7-x64.zip'
Installing package 'OmniSharp (.NET 4.6 / x64)'
Failed at stage: installPackages
Error: end of central directory record signature not found

Finished
 
 

需要設置代理:

File菜單-->Preferences-->Settings, 直接搜索proxy,
右側直接配置用戶級別的setting
// Place your settings in this file to overwrite the default settings
{
"http.proxy":"http://sasygsha01prx11_p.asnet.accorservices.net:8080"
}

 

 

左側的側邊欄

包括查看變量,添加監視,調用堆棧

 

 

 
 

lanch.json

此文件中的 配置,直接影響到Debug的選項

name

 

 

args

"args": ["a","bc","chuck","kerry"],

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM