Skip to content

Improved build debugging capabilities #404

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

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

Foggy2
Copy link
Contributor

@Foggy2 Foggy2 commented Jun 21, 2025

This PR is based on the work I have done in PR #402 so I have left this as a draft for the moment while that PR is reviewed.

I could see some mentions in the documentation of debugging capabilities in the build.ps1 file but I was unable to find anything in the file to support that.

To address that, I have added a -BuildDebug switch to build.ps1 that will cause a debug build to be created. The main differences from normal are:

  • All source code files will be dot sourced in the compiled module. This is instead of copying all code into the psgsuite.psm1.
  • All module functions and variables are exported to the PowerShell session.

Thanks

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

Successfully merging this pull request may close these issues.

2 participants