{ "version": "0.2.0", "configurations": [ { "name": "RpgRoller: Server", "type": "coreclr", "request": "launch", "preLaunchTask": "build", "program": "${workspaceFolder}/RpgRoller/bin/Debug/net10.0/RpgRoller.dll", "args": [], "cwd": "${workspaceFolder}/RpgRoller", "stopAtEntry": false, "console": "internalConsole", "env": { "ASPNETCORE_ENVIRONMENT": "Development", "ASPNETCORE_URLS": "https://localhost:7271;http://localhost:5175" } }, { "name": "RpgRoller: Server + Edge (F5)", "type": "coreclr", "request": "launch", "preLaunchTask": "build", "program": "${workspaceFolder}/RpgRoller/bin/Debug/net10.0/RpgRoller.dll", "args": [], "cwd": "${workspaceFolder}/RpgRoller", "stopAtEntry": false, "console": "internalConsole", "env": { "ASPNETCORE_ENVIRONMENT": "Development", "ASPNETCORE_URLS": "https://localhost:7271;http://localhost:5175" }, "serverReadyAction": { "action": "debugWithEdge", "pattern": "\\bNow listening on:\\s+(https?://\\S+)" } }, { "name": "RpgRoller: Server + Firefox (F5)", "type": "coreclr", "request": "launch", "preLaunchTask": "build", "program": "${workspaceFolder}/RpgRoller/bin/Debug/net10.0/RpgRoller.dll", "args": [], "cwd": "${workspaceFolder}/RpgRoller", "stopAtEntry": false, "console": "internalConsole", "env": { "ASPNETCORE_ENVIRONMENT": "Development", "ASPNETCORE_URLS": "https://localhost:7271;http://localhost:5175" }, "serverReadyAction": { "action": "startDebugging", "pattern": "\\bNow listening on:\\s+(https?://\\S+)", "name": "RpgRoller: Open Firefox" } }, { "name": "RpgRoller: Open Firefox", "type": "node-terminal", "request": "launch", "command": "$firefox = Join-Path $env:ProgramFiles 'Mozilla Firefox\\firefox.exe'; if (-not (Test-Path $firefox)) { $firefox = Join-Path ${env:ProgramFiles(x86)} 'Mozilla Firefox\\firefox.exe' }; Start-Process -FilePath $firefox -ArgumentList 'https://localhost:7271'" } ] }