samuelcolvin/python-devtools

return the arguments to debug()

samuelcolvin opened this issue · 1 comments

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 commented

+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