https://pantsbuild.org/ logo
h

hundreds-father-404

05/14/2019, 12:43 AM
With V2 pytest, will it no longer be possible to use PDB in a test because it’s executed as a subprocess?
🔥 1
a

aloof-angle-91616

05/14/2019, 12:47 AM
great question btw keep it up
h

hundreds-father-404

05/14/2019, 12:47 AM
Thanks. I’d love for V2 to be as ergonomic (dare I say more) than V1. Trying to identify what we need to do to reach there
a

aloof-angle-91616

05/14/2019, 12:49 AM
i think it's going to be infinitely more ergonomic
infinitely
h

hundreds-father-404

05/14/2019, 12:51 AM
reasons why?
a

aloof-angle-91616

05/14/2019, 1:03 AM
parallelism that's easy for rule authors to write => instant feedback for users e.g. in IDEs
there are a lot of ways we can expand the interface
vaguely
w

witty-crayon-22786

05/14/2019, 3:40 AM
pdb will be challenging, because the process is not in the foreground by default. but processes that need exclusive foreground access were accounted for in the design
(basically, adding an "exclusive, foreground" flag to ExecuteProcess)
a

aloof-angle-91616

05/14/2019, 3:41 AM
let's make sure that particular exclusivity doesn't becomes a kitchen sink
i don't think it will
but like tying exclusive access to the console is the abstraction that keeps on abstracting
w

witty-crayon-22786

05/14/2019, 3:42 AM
yea.