I couldn't find an issue for this, sorry if I over...
# general
f
I couldn't find an issue for this, sorry if I overlooked it. Using
pants test --debug-adapter
works great but with
run
everything looks good except the breakpoints aren't hit. Has anyone else seen this? Using vscode 1.80.2, pants 2.16.0, python 3.10, debugpy 1.6.7
Interesting data point is that the debugger is stopping for exceptions. Just not vscode breakpoints
h
cc @bitter-ability-32190
b
This used to be an issue with path mappings. Then I added some hack to workaround it with a PR upstream which hasn't seen love in many moons
Do you run in-sandbox or not? That might be something to poke at. There's a field per target, and a global option to toggle the behavior
f
Thanks Josh! I just tried setting default_run_goal_use_sandbox to true but unfortunately didn't seem to change anything
Aha - setting it to false fixes it
b
Ok that's helpful. Mind dumping this into an issue?
f