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

modified autoloaded Documents\WindowsPowerShell\Modules are not reloaded when debugging #653

Closed
bughit opened this issue Apr 5, 2017 · 2 comments
Labels
Area-Debugging Issue-Enhancement A feature request (enhancement).

Comments

@bughit
Copy link

bughit commented Apr 5, 2017

this used to work in older versions because I guess they started a new ps session each time

@daviwil
Copy link
Contributor

daviwil commented Apr 5, 2017

This is a duplicate of #367. I'll be providing an option to allow to to create a new session each time you debug your script so that you have a fresh runspace to work with.

@daviwil daviwil closed this as completed Apr 5, 2017
@rkeithhill
Copy link
Contributor

Yup, this is another downside to not using a fresh console session for each debug session. I think the plan is to either add a setting for this or (even better) make this a debug configuration property e.g. "reuseConsoleSession": false.

Personally I would have the default be false. I usually want a new console session for each debug session. It is the safer way to go. However, by having this be a debug configuration property, we can create debug config snippets that allow the console session to be shared between different debug sessions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Debugging Issue-Enhancement A feature request (enhancement).
Projects
None yet
Development

No branches or pull requests

3 participants