.vscode/launch.json

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Open powershell and import",
            "type": "clr",
            "request": "launch",
            "program": "powershell",
            "args": [
                "-NoExit",
                "-NoProfile",
                "-Command",
                "Import-Module ${workspaceFolder}/windows-screenfetch-fast.psd1",
            ],
            "cwd": "${workspaceFolder}",
            "stopAtEntry": false,
            "console": "integratedTerminal"
        },
        {
            "name": "Test speed",
            "type": "clr",
            "request": "launch",
            "program": "powershell",
            "args": [
                "-NoExit",
                "-NoProfile",
                "-Command",
                "Import-Module ${workspaceFolder}/windows-screenfetch-fast.psd1; Import-Module ${workspaceFolder}/Data.psm1; .\\test\\functions_speed.ps1; Write-Host '\n'; Screenfetch",
            ],
            "cwd": "${workspaceFolder}",
            "stopAtEntry": false,
            "console": "integratedTerminal"
        },
        {
            "name": "Test functions speed",
            "type": "clr",
            "request": "launch",
            "program": "powershell",
            "args": [
                "-NoExit",
                "-NoProfile",
                "-Command",
                "Import-Module ${workspaceFolder}/Data.psm1;",
                ".\\test\\functions_speed.ps1;"
            ],
            "cwd": "${workspaceFolder}",
            "stopAtEntry": false,
            "console": "integratedTerminal"
        },
    ]
}