-
Notifications
You must be signed in to change notification settings - Fork 843
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
No debug output with -v
in interpreter mode
#2343
Comments
I know, you can only specify the file on command line, no options. Though you can specify the options in the interpreter command in the script and There are a couple of problems in using the command line options in the interpreter mode:
I did not pursue it further because of these issues. The effort involved in solving them perhaps is not worth the gain especially when we have a way to specify the options in the script file itself. One low hanging enhancement could be to improve the message that we are seeing. When
|
When I run the following script (notice the
|
This works:
|
BTW, I see PR #2318 trying to fix exactly this. |
Ah, awesome! |
We need to get the following also to work:
#1472 introduced silent mode when interpreting a script but we should be able to override that via command line. |
The situation is the same with the new |
Note that now the script interpreter is not totally silent - it outputs logErrors - ccd5994 |
Oddly enough, the following does work
Not sure why moving the |
I would like to see what
stack
is doing when it's running a script but it currently refuses:Take
turtle.hs
:stack -v turtle.hs
isn't even valid syntax:Is there a reason why we can't override script options by passing them to
stack <options> script
?The text was updated successfully, but these errors were encountered: