Skip to content

Debugging psm1 file #152

Closed
Closed
@rroman81

Description

@rroman81

I am having an issue where i am attempting to debug a psm1 module script. When I launch the debugger with standard Powershell launch.json settings, I get an error "Cannot run a document in the middle of a pipeline: C:\samplemodule.psm1."
Any specific way i can invoke the "import-module .\samplemodule" somehow?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions