c912093579
Don't point to web in the client because it won't redirect properly. Modified the vscode launch.json to automatically launch the browser when debugging the first configuration. The
43 lines
1.4 KiB
JSON
43 lines
1.4 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": ".NET Core Launch (console)",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"preLaunchTask": "build",
|
|
"program": "${workspaceFolder}/Jellyfin.Server/bin/Debug/netcoreapp3.1/jellyfin.dll",
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}/Jellyfin.Server",
|
|
"console": "internalConsole",
|
|
"stopAtEntry": false,
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"serverReadyAction": {
|
|
"action": "openExternally",
|
|
"pattern": "Overriding address\\(es\\) \\'(https?:\\S+)\\'",
|
|
}
|
|
},
|
|
{
|
|
"name": ".NET Core Launch (nowebclient)",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"preLaunchTask": "build",
|
|
"program": "${workspaceFolder}/Jellyfin.Server/bin/Debug/netcoreapp3.1/jellyfin.dll",
|
|
"args": ["--nowebclient"],
|
|
"cwd": "${workspaceFolder}/Jellyfin.Server",
|
|
"console": "internalConsole",
|
|
"stopAtEntry": false,
|
|
"internalConsoleOptions": "openOnSessionStart"
|
|
},
|
|
{
|
|
"name": ".NET Core Attach",
|
|
"type": "coreclr",
|
|
"request": "attach",
|
|
"processId": "${command:pickProcess}"
|
|
}
|
|
],
|
|
"env": {
|
|
"DOTNET_CLI_TELEMETRY_OPTOUT": "1"
|
|
}
|
|
}
|