{ // Debugging Anubis from VS Code (needs the C# extension, ms-dotnettools.csharp). // Each configuration builds the server in Debug first and opens the browser once it listens. "version": "0.2.0", "configurations": [ { "name": "Anubis: server, dati di prova", "type": "coreclr", "request": "launch", "preLaunchTask": "build-server", "program": "${workspaceFolder}/src/Anubis.Server/bin/Debug/net10.0/Anubis.Server.dll", // A data folder of its own, ignored by git: the real one in %APPDATA%\Anubis stays untouched. "args": ["--data-dir", "${workspaceFolder}/artifacts/debug-data"], "cwd": "${workspaceFolder}/src/Anubis.Server", "env": { "ASPNETCORE_ENVIRONMENT": "Development" }, "console": "internalConsole", "stopAtEntry": false, "serverReadyAction": { "action": "openExternally", "pattern": "Now listening on: (https?://[^\\s\"]+)" } }, { "name": "Anubis: modalità dimostrativa", "type": "coreclr", "request": "launch", "preLaunchTask": "build-server", "program": "${workspaceFolder}/src/Anubis.Server/bin/Debug/net10.0/Anubis.Server.dll", // The data of SPEC appendix F, in a folder and a database apart (the same as "tasks seed-demo"). "args": ["--demo"], "cwd": "${workspaceFolder}/src/Anubis.Server", "env": { "ASPNETCORE_ENVIRONMENT": "Development" }, "console": "internalConsole", "stopAtEntry": false, "serverReadyAction": { "action": "openExternally", "pattern": "Now listening on: (https?://[^\\s\"]+)" } }, { "name": "Anubis: server, dati dell'utente", "type": "coreclr", "request": "launch", "preLaunchTask": "build-server", "program": "${workspaceFolder}/src/Anubis.Server/bin/Debug/net10.0/Anubis.Server.dll", // The desktop data folder (%APPDATA%\Anubis), the same one "tasks dev" uses. "args": [], "cwd": "${workspaceFolder}/src/Anubis.Server", "env": { "ASPNETCORE_ENVIRONMENT": "Development" }, "console": "internalConsole", "stopAtEntry": false, "serverReadyAction": { "action": "openExternally", "pattern": "Now listening on: (https?://[^\\s\"]+)" } }, { "name": "Anubis: aggancia a un processo", "type": "coreclr", "request": "attach", "processId": "${command:pickProcess}" } ] }