launch.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "version": "0.2.0",
  3. "configurations": [
  4. {
  5. "name": ".NET Launch (console)",
  6. "type": "coreclr",
  7. "request": "launch",
  8. "preLaunchTask": "build",
  9. "program": "${workspaceFolder}/Jellyfin.Server/bin/Debug/net9.0/jellyfin.dll",
  10. "args": [],
  11. "cwd": "${workspaceFolder}/Jellyfin.Server",
  12. "console": "internalConsole",
  13. "stopAtEntry": false,
  14. "internalConsoleOptions": "openOnSessionStart",
  15. "serverReadyAction": {
  16. "action": "openExternally",
  17. "pattern": "Overriding address\\(es\\) \\'(https?:\\S+)\\'",
  18. }
  19. },
  20. {
  21. "name": ".NET Launch (nowebclient)",
  22. "type": "coreclr",
  23. "request": "launch",
  24. "preLaunchTask": "build",
  25. "program": "${workspaceFolder}/Jellyfin.Server/bin/Debug/net9.0/jellyfin.dll",
  26. "args": ["--nowebclient"],
  27. "cwd": "${workspaceFolder}/Jellyfin.Server",
  28. "console": "internalConsole",
  29. "stopAtEntry": false,
  30. "internalConsoleOptions": "openOnSessionStart"
  31. },
  32. {
  33. "name": "ghcs .NET Launch (nowebclient, ffmpeg)",
  34. "type": "coreclr",
  35. "request": "launch",
  36. "preLaunchTask": "build",
  37. "program": "${workspaceFolder}/Jellyfin.Server/bin/Debug/net9.0/jellyfin.dll",
  38. "args": ["--nowebclient", "--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg"],
  39. "cwd": "${workspaceFolder}/Jellyfin.Server",
  40. "console": "internalConsole",
  41. "stopAtEntry": false,
  42. "internalConsoleOptions": "openOnSessionStart"
  43. },
  44. {
  45. "name": ".NET Attach",
  46. "type": "coreclr",
  47. "request": "attach",
  48. "processId": "${command:pickProcess}"
  49. }
  50. ],
  51. "env": {
  52. "DOTNET_CLI_TELEMETRY_OPTOUT": "1"
  53. }
  54. }