Skip to content

Debugging doesn't work when the script requires parameters #60

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

Closed
clazette opened this issue Dec 30, 2015 · 6 comments
Closed

Debugging doesn't work when the script requires parameters #60

clazette opened this issue Dec 30, 2015 · 6 comments
Labels
Issue-Enhancement A feature request (enhancement).
Milestone

Comments

@clazette
Copy link

No description provided.

@daviwil
Copy link
Contributor

daviwil commented Dec 30, 2015

Hi clazette, I could have sworn there was a bug filed for this already but I wasn't able to find it. Either way, you're right, this is a missing feature at the moment. Will look into getting it added soon. Thanks!

@daviwil daviwil added the Issue-Enhancement A feature request (enhancement). label Dec 30, 2015
@daviwil daviwil added this to the 0.4.0 milestone Dec 30, 2015
@clazette
Copy link
Author

I looked for it as well before opening a new issue. Thanks for the response. Take care.

@sameer-kumar
Copy link

I logged-in to log an issue for the same but realized that there is already one :-)
My script starts with [CmdletBinding()] param() and debugging doesn't work.
Thanks for considering this in future release! 👍

@daviwil
Copy link
Contributor

daviwil commented Jan 26, 2016

I'm making some changes right now that may actually enable this in a basic way. When you run a script that requires parameters to be entered, it causes prompts to show up in the console. I'm currently finishing up an implementation of this prompting mechanism in the debug console. This should allow you to run/debug your script though we don't yet have a way to set those parameters before running the script.

@rkeithhill
Copy link
Contributor

we don't yet have a way to set those parameters before running the script.

I believe we just might have a way to do that now.

@daviwil
Copy link
Contributor

daviwil commented Feb 7, 2016

Ahhh, I knew there was another issue filed for this already! Check out #24

We're looking into fixing this bug for next week's release, keep an eye on that issue :) I'll close this one for now.

@daviwil daviwil closed this as completed Feb 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Enhancement A feature request (enhancement).
Projects
None yet
Development

No branches or pull requests

4 participants