Skip to content

Test that a correct value for "cwd" attribute is found in all cases #44447

@weinand

Description

@weinand

Refs: #43591:

Complexity: 2

We have improved the code in node-debug that determines a correct value for the "cwd" attribute in case the user has not supplied one. Since the new code lives in the extension, it covers both node-debug and node-debug2.

To verify:

  • use a trivial program "console.log('hello')"
  • use a launch config without a "cwd" attribute (or no launch config at all)
  • verify that there is no error message about an "non-absolute path" when pressing F5 in the following cases:
    • launch config lives in launch.json
    • launch config lives in workspace settings
    • launch config lives in user settings
    • no launch config

Metadata

Metadata

Assignees

No one assigned

    Labels

    debugDebug viewlet, configurations, breakpoints, adapter issuestestplan-item

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions