launch.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. // Use IntelliSense to learn about possible attributes.
  3. // Hover to view descriptions of existing attributes.
  4. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  5. "version": "0.2.0",
  6. "configurations": [
  7. {
  8. "name": ".NET Core Launch (web)",
  9. "type": "coreclr",
  10. "request": "launch",
  11. "preLaunchTask": "build",
  12. "program": "${workspaceFolder}/demo/DemoWeb/bin/Debug/netcoreapp2.0/DemoWeb.dll",
  13. "args": [],
  14. "cwd": "${workspaceFolder}/demo/DemoWeb",
  15. "stopAtEntry": false,
  16. "internalConsoleOptions": "openOnSessionStart",
  17. "launchBrowser": {
  18. "enabled": true,
  19. "args": "${auto-detect-url}",
  20. "windows": {
  21. "command": "cmd.exe",
  22. "args": "/C start ${auto-detect-url}"
  23. },
  24. "osx": {
  25. "command": "open"
  26. },
  27. "linux": {
  28. "command": "xdg-open"
  29. }
  30. },
  31. "env": {
  32. "ASPNETCORE_ENVIRONMENT": "Development"
  33. },
  34. "sourceFileMap": {
  35. "/Views": "${workspaceFolder}/Views"
  36. }
  37. },
  38. {
  39. "name": ".NET Core Attach",
  40. "type": "coreclr",
  41. "request": "attach",
  42. "processId": "${command:pickProcess}"
  43. }
  44. ]
  45. }