除錯在VScode下除錯C#官網例子
運行出現:Unable to perform this action because the process is running.
停止debug后,扔出“..../Debug/netcoreapp1.1/projectApp.dll' has exited with code 0 (0x00000000).”錯誤
請問怎么回事?我需要修改launch.json什么地方?
launch.json:
{
"version": "0.2.0",
"configurations": [{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceRoot}/bin/Debug/netcoreapp1.1/projectApp.dll",
"args": [],
"cwd": "${workspaceRoot}",
"externalConsole": false,
"stopAtEntry": false,
"internalConsoleOptions": "openOnSessionStart"
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command.pickProcess}"
}
]
}uj5u.com熱心網友回復:
改成"externalConsole": true就好了uj5u.com熱心網友回復:
你好,如果我不想使用彈出的視窗而是用下方的除錯控制臺和終端進行除錯,該怎么處理?轉載請註明出處,本文鏈接:https://www.uj5u.com/net/102069.html
標籤:C#
