You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
2.1 KiB

2 years ago
  1. {
  2. // 使 IntelliSense
  3. //
  4. // 访: https://go.microsoft.com/fwlink/?linkid=830387
  5. "version": "0.2.0",
  6. "configurations": [
  7. {
  8. "name": ".NET Core Attach",
  9. "type": "coreclr",
  10. "request": "attach",
  11. "processId": "${command:pickProcess}"
  12. },
  13. {
  14. "name": ".NET Core Launch (console)",
  15. "type": "coreclr",
  16. "request": "launch",
  17. "preLaunchTask": "build",
  18. "program": "${workspaceFolder}/bin/Debug/<insert-target-framework-here>/<insert-project-name-here>.dll",
  19. "args": [],
  20. "cwd": "${workspaceFolder}",
  21. "console": "internalConsole",
  22. "stopAtEntry": false,
  23. "internalConsoleOptions": "openOnSessionStart"
  24. },
  25. {
  26. "name": ".NET Core Launch (web)",
  27. "type": "coreclr",
  28. "request": "launch",
  29. "preLaunchTask": "build",
  30. "program": "${workspaceFolder}/bin/Debug/<insert-target-framework-here>/<insert-project-name-here>.dll",
  31. "args": [],
  32. "cwd": "${workspaceFolder}",
  33. "stopAtEntry": false,
  34. "internalConsoleOptions": "openOnSessionStart",
  35. "launchBrowser": {
  36. "enabled": true,
  37. "args": "${auto-detect-url}",
  38. "windows": {
  39. "command": "cmd.exe",
  40. "args": "/C start ${auto-detect-url}"
  41. },
  42. "osx": {
  43. "command": "open"
  44. },
  45. "linux": {
  46. "command": "xdg-open"
  47. }
  48. },
  49. "env": {
  50. "ASPNETCORE_ENVIRONMENT": "Development"
  51. },
  52. "sourceFileMap": {
  53. "/Views": "${workspaceFolder}/Views"
  54. }
  55. },
  56. {
  57. "name": ".NET Core Attach",
  58. "type": "coreclr",
  59. "request": "attach",
  60. "processId": "${command:pickProcess}"
  61. }
  62. ]
  63. }