{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "dpz.webapi",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/Dpz.Core.WebApi/bin/Debug/net6.0/Dpz.Core.WebApi.dll",
"args": [],
"cwd": "${workspaceFolder}/Dpz.Core.WebApi",
"stopAtEntry": false,
"console": "internalConsole"
},
{
"name": "dpz.core",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/Dpz.Core.Web/bin/Debug/net6.0/Dpz.Core.Web.dll",
"args": [],
"cwd": "${workspaceFolder}/Dpz.Core.Web",
"stopAtEntry": false,
"serverReadyAction": {
"action": "openExternally",
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
}
},
{
"name": ".NET Core Launch (web)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/Dpz.Core.Web/bin/Debug/netcoreapp3.1/Dpz.Core.Web.dll",
"args": [],
"cwd": "${workspaceFolder}/Dpz.Core.Web",
"stopAtEntry": false,
"serverReadyAction": {
"action": "openExternally",
"pattern": "^\\s*Now listening on:\\s+(https?://\\S+)"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
}
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}