.vscode/launch.json

{
    "configurations": [
        {
            "name": "PowerShell Interactive Session",
            "type": "PowerShell",
            "request": "launch",
            "cwd": "${cwd}"
        },
    {
        "name": "PowerShell Attach to Host Process",
        "type": "PowerShell",
        "request": "attach",
        "runspaceId": 1
    }
    ]
}