launch.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. // 使用 IntelliSense 了解相关属性。
  3. // 悬停以查看现有属性的描述。
  4. // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
  5. "version": "0.2.0",
  6. "configurations": [
  7. {
  8. // Use IntelliSense to find out which attributes exist for C# debugging
  9. // Use hover for the description of the existing attributes
  10. // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
  11. "name": ".NET Core Launch (web)",
  12. "type": "coreclr",
  13. "request": "launch",
  14. "preLaunchTask": "build",
  15. // If you have changed target frameworks, make sure to update the program path.
  16. "program": "${workspaceFolder}/Ropin.Inspection.Api/bin/Debug/net5.0/Ropin.Inspection.Api.dll",
  17. "args": [],
  18. "cwd": "${workspaceFolder}/Ropin.Inspection.Api",
  19. "stopAtEntry": false,
  20. // Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
  21. "serverReadyAction": {
  22. "action": "openExternally",
  23. "pattern": "\\bNow listening on:\\s+(https?://\\S+)"
  24. },
  25. "env": {
  26. "ASPNETCORE_ENVIRONMENT": "Development"
  27. },
  28. "sourceFileMap": {
  29. "/Views": "${workspaceFolder}/Views"
  30. }
  31. },
  32. {
  33. "name": ".NET Core Attach",
  34. "type": "coreclr",
  35. "request": "attach"
  36. }
  37. ]
  38. }