launch.json 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. {
  2. // 使用 IntelliSense 了解相关属性。
  3. // 悬停以查看现有属性的描述。
  4. // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
  5. "version": "0.2.0",
  6. "configurations": [{
  7. "name": ".NET Core Launch (web)",
  8. "type": "coreclr",
  9. "request": "launch",
  10. "preLaunchTask": "build",
  11. "program": "${workspaceFolder}/bin/Debug/netcoreapp3.0/MySystem.dll",
  12. "args": [],
  13. "cwd": "${workspaceFolder}",
  14. "stopAtEntry": false,
  15. "serverReadyAction": {
  16. "action": "openExternally",
  17. "pattern": "^\\s*Now listening on:\\s+(https?://\\S+)"
  18. },
  19. "env": {
  20. "ASPNETCORE_ENVIRONMENT": "Development"
  21. },
  22. "sourceFileMap": {
  23. "/Views": "${workspaceFolder}/Views"
  24. }
  25. },
  26. {
  27. "name": ".NET Core Attach",
  28. "type": "coreclr",
  29. "request": "attach",
  30. "processId": "${command:pickProcess}"
  31. }
  32. ]
  33. }