quaint-telephone-89068
01/06/2023, 6:09 PMpants test --debug ... I may be in the middle of a debugging session (by means of breakpoint() in the tests for instance), and don't appreciate it when pants throws KeyboardInterrupt in an attempt to restart due to changed sources..
Describe the solution you'd like
When invoking an interactive pytest session, mark it as non-restartable.
Describe alternatives you've considered
Manually disabling pants file watching feature for the debug session. This is tedious and easily forgotten/overlooked.
Additional context
This is not a real issue as long as I remember to not edit/save any sources while debugging.. alas, my mind isn't there in the moment--so this becomes a nuance.
pantsbuild/pants