Skip to content

Unit Test debugging should hit breakpoints #785

Open
@swtrse

Description

@swtrse

OS Version: Windows 10
VSCode Version: 1.62.2
Puppet Extension Version: 1.4.0
PDK Version: 2.2.0

VSCode ist using the Dev Container: Puppet Development Kit (Community) when opening the Puppet module
Puppet Version: 7.10.0

What You Are Seeing?

When running unit tests with "pdk test unit", breakpoints placed in the classes are ignored.

What is Expected?

While this is fine since the process is not attached to the debugger of vscode. I did not find a way to do so.
In a perfect scenario I would also able to debug the spec files so that I can see step by step what is happening.

How Did You Get This To Happen? (Steps to Reproduce)

Use the pdk to create a module and a class with a unit test

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