puppet-vscode icon indicating copy to clipboard operation
puppet-vscode copied to clipboard

Unit Test debugging should hit breakpoints

Open swtrse opened this issue 3 years ago • 0 comments

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

swtrse avatar Nov 16 '21 16:11 swtrse