Skip to content

'${command:SpecifyScriptArgs}' can not be resolved because the command has no value. #49390

Closed
@eknraw

Description

@eknraw

Recent insider builds and the 1.23 version results in an error when launching a PowerShell file W/Args Prompt:

'${command:SpecifyScriptArgs}' can not be resolved because the command has no value.

This was first observed on April 26th with a new Insiders Build.

  • VSCode Version: 1.23
  • OS Version: Windows Server 2016/Windows 10

Steps to Reproduce:

  1. Use VS Code 1.23.0
  2. Use PowerShell Extension 1.7.0
  3. Use a launch.json with the following configuration:
    {
    "type": "PowerShell",
    "request": "launch",
    "name": "PowerShell Launch Current File w/Args Prompt",
    "script": "${file}",
    "args": [
    "${command:SpecifyScriptArgs}"
    ],
    "cwd": "${file}"
    },
  4. Launch PowerShell script, CTRL + F5
  5. Enter input when prompted to "Press 'Enter' to confirm your input or 'Escape' to Cancel

specifyscriptargs

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions