Skip to content

Variable command returning null does not cancel debug session launch #18601

Closed

Description

  • VSCode Version: 1.9.0
  • OS Version: macOS

Steps to Reproduce:

  1. use this launch config:
{
	"type": "node",
	"request": "attach",
	"name": "Attach to Port",
	"port": 5858,
	"processId": "${command.PickProcess}"
}
  1. start "Attach to Port"
  2. Press 'Esc' to cancel

Observe:
this error appears:
2017-01-16_11-42-37

I've verified that the variable command returns a null in this case but this only cancels the variable substitution (and leaves the variable expression intact) but not the debug session launch.

Activity

  1. added
    debug
    bug
    important
    on Jan 16, 2017
  2. locked and limited conversation to collaborators on Nov 18, 2017
  3. added a commit that references this issue on Sep 6, 2026
    3f68aa9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugdebugimportantverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions