SubTemplateCmdlet/launchSettings.json

{
  "profiles": {
    "MyCmdlet": {
      "commandName": "Executable",
      "executablePath": "%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\powershell.exe",
      "commandLineArgs": "-NoExit -NoProfile -ExecutionPolicy ByPass -Command Import-Module -Verbose $(TargetPath)",
      "workingDirectory": "$(TargetDir)",
      "remoteDebugEnabled": false,
      "nativeDebugging": true
    }
  }
}