{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Selector.Web",
            "type": "coreclr",
            "request": "launch",
            "preLaunchTask": "buildWeb",
            "program": "${workspaceFolder}/Selector.Web/bin/Debug/net6.0/Selector.Web.dll",
            "args": [],
            "cwd": "${workspaceFolder}/Selector.Web",
            "stopAtEntry": false,
            "serverReadyAction": {
                "action": "openExternally",
                "pattern": "\\bNow listening on:\\s+(https?://\\S+)"
            },
            "env": {
                "ASPNETCORE_ENVIRONMENT": "Development"
            },
            "sourceFileMap": {
                "/Views": "${workspaceFolder}/Views"
            }
        },
    
        {
            "name": "Selector.CLI",
            "type": "coreclr",
            "request": "launch",
            "preLaunchTask": "buildCLI",
            "program": "${workspaceFolder}/Selector.CLI/bin/Debug/net6.0/Selector.CLI.dll",
            "env": {
                "DOTNET_ENVIRONMENT": "Development"
            },
            "args": [],
            "cwd": "${workspaceFolder}/Selector.CLI",
            "console": "internalConsole",
            "stopAtEntry": false
        },
        {
            "name": ".NET Core Attach",
            "type": "coreclr",
            "request": "attach"
        }
    ]
}