Skip to content

add debug configuration for scripts with command-line arguments #4671

@peetrike

Description

@peetrike

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been reported.

Summary

There was a configuration in past for launching debugger for scripts with command-line arguments. It would be nice to have it back.

Proposed Design

  {
    "type": "PowerShell",
    "request": "launch",
    "name": "PowerShell Launch Current File w/Args Prompt",
    "script": "${file}",
    "args": [
      "${command:SpecifyScriptArgs}"
    ],
    "cwd": "${file}"
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions