Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit Test debugging should hit breakpoints #785

Open
swtrse opened this issue Nov 16, 2021 · 0 comments
Open

Unit Test debugging should hit breakpoints #785

swtrse opened this issue Nov 16, 2021 · 0 comments

Comments

@swtrse
Copy link

swtrse commented Nov 16, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants