launch.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. // Use IntelliSense to find out which attributes exist for C# debugging
  3. // Use hover for the description of the existing attributes
  4. // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
  5. "version": "0.2.0",
  6. "configurations": [
  7. {
  8. "name": ".NET Core Launch (web)",
  9. "type": "coreclr",
  10. "request": "launch",
  11. "preLaunchTask": "build",
  12. // If you have changed target frameworks, make sure to update the program path.
  13. "program": "${workspaceFolder}/api/bin/Debug/netcoreapp2.2/api.dll",
  14. "args": [],
  15. "cwd": "${workspaceFolder}/api",
  16. "stopAtEntry": false,
  17. // Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
  18. "serverReadyAction": {
  19. "action": "openExternally",
  20. "pattern": "^\\s*Now listening on:\\s+(https?://\\S+)"
  21. },
  22. "env": {
  23. "ASPNETCORE_ENVIRONMENT": "Development"
  24. },
  25. "sourceFileMap": {
  26. "/Views": "${workspaceFolder}/Views"
  27. }
  28. },
  29. {
  30. "name": ".NET Core Attach",
  31. "type": "coreclr",
  32. "request": "attach",
  33. "processId": "${command:pickProcess}"
  34. }
  35. ]
  36. }