Properties/launchSettings.json

{
  "profiles": {
    "Debug PowerShell": {
      "commandName": "Executable",
      "executablePath": "C:\\Users\\renev\\AppData\\Local\\Microsoft\\WindowsApps\\Microsoft.PowerShell_8wekyb3d8bbwe\\pwsh.exe",
      "commandLineArgs": "-NoLogo -NoProfile -ExecutionPolicy Bypass -MTA -NoExit -File \"$(ProjectDir)debug.ps1\"",
      "workingDirectory": "$(ProjectDir)"
    }
  }
}