https://pantsbuild.org/ logo
b

breezy-window-26318

10/17/2022, 12:03 AM
Hi all, I am trying to use the debugger (with vs code) in our python project. We set up our codebase with the <https://www.pantsbuild.org/docs/source-roots#srclang-setup%7Csrc/&lt;lang> setup> as instructed in the docs. It works very well. However, when I want to debug my code, it never stops on the breakpoint. I am thinking that path mappings are incorrect but really couldn’t find a solution. Here is the repo for demonstration: https://github.com/aeroith/example-python
w

wide-midnight-78598

10/17/2022, 12:33 AM
b

breezy-window-26318

10/17/2022, 5:23 AM
Yes. This is the command I am using:
Copy code
./pants run --debug-adaptor src/python/helloworld/main.py
5 Views