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

return the arguments to debug() #69

Closed
samuelcolvin opened this issue Sep 27, 2020 · 1 comment · Fixed by #87
Closed

return the arguments to debug() #69

samuelcolvin opened this issue Sep 27, 2020 · 1 comment · Fixed by #87

Comments

@samuelcolvin
Copy link
Owner

so i can do

foobar = ...
next_thing = debug(a_method(foobar))

and display the output of a_method(foobar) while also assigning it to next_thing

@xpayn
Copy link

xpayn commented Feb 1, 2021

+1

this could really be useful when using list comprehension, because right now I have to rework my code with a classic loop to use debug()
anyway, thanks for your work, it's really appreciated

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 a pull request may close this issue.

2 participants