Browse Source

Add vscode launch configuration for launching without hosting webclient

Alf Sebastian Houge 4 years ago
parent
commit
d53f7dd0c2
1 changed files with 14 additions and 0 deletions
  1. 14 0
      .vscode/launch.json

+ 14 - 0
.vscode/launch.json

@@ -15,6 +15,20 @@
             "stopAtEntry": false,
             "stopAtEntry": false,
             "internalConsoleOptions": "openOnSessionStart"
             "internalConsoleOptions": "openOnSessionStart"
         },
         },
+        {
+            "name": ".NET Core Launch (nowebclient)",
+            "type": "coreclr",
+            "request": "launch",
+            "preLaunchTask": "build",
+            // If you have changed target frameworks, make sure to update the program path.
+            "program": "${workspaceFolder}/Jellyfin.Server/bin/Debug/netcoreapp3.1/jellyfin.dll",
+            "args": ["--nowebclient"],
+            "cwd": "${workspaceFolder}/Jellyfin.Server",
+            // For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
+            "console": "internalConsole",
+            "stopAtEntry": false,
+            "internalConsoleOptions": "openOnSessionStart"
+        },
         {
         {
             "name": ".NET Core Attach",
             "name": ".NET Core Attach",
             "type": "coreclr",
             "type": "coreclr",