ancient-accountant-55836
11/14/2022, 4:20 AM./pants run --debug-adapter src/python/greeter/main.py
, I can successfully connect through Python: Remote Attach
in Visual Studio Code. However, when I set a breakpoint on line 9 of /src/python/greeter/main.py
and try to visit localhost:8000/
in my browser, the breakpoint is never activated. I see output in both my terminal and the debug console but the breakpoint is just never activated. Any help would be greatly appreciated, thanks!ancient-accountant-55836
11/14/2022, 4:27 AMhappy-kitchen-89482
11/14/2022, 7:16 AMbitter-ability-32190
11/14/2022, 1:22 PMancient-accountant-55836
11/14/2022, 4:49 PMbitter-ability-32190
11/14/2022, 4:52 PMbitter-ability-32190
11/14/2022, 4:52 PMbitter-ability-32190
11/14/2022, 5:18 PMancient-accountant-55836
11/14/2022, 5:24 PMancient-accountant-55836
11/14/2022, 5:24 PMpycharm
branch of the repo I linked to that I can get it to work in Pycharmbitter-ability-32190
11/14/2022, 5:24 PMbitter-ability-32190
11/14/2022, 5:25 PMbitter-ability-32190
11/14/2022, 5:25 PMbitter-ability-32190
11/14/2022, 5:26 PMbitter-ability-32190
11/14/2022, 5:26 PMbitter-ability-32190
11/14/2022, 5:27 PMpants.toml
• Use the CLI flag/env var: ``--python-default-run-goal-use-sandbox` or ``PANTS_PYTHON_DEFAULT_RUN_GOAL_USE_SANDBOX=1`
• Set it on the target: python_sources(run_goal_use_sandbox=False)
bitter-ability-32190
11/14/2022, 5:28 PMancient-accountant-55836
11/14/2022, 5:59 PMancient-accountant-55836
11/14/2022, 5:59 PMancient-accountant-55836
11/14/2022, 5:59 PMbitter-ability-32190
11/14/2022, 6:00 PMhappy-kitchen-89482
11/14/2022, 7:19 PMbitter-ability-32190
11/14/2022, 7:28 PMbusy-vase-39202
11/14/2022, 11:06 PMbusy-vase-39202
11/14/2022, 11:10 PMbitter-ability-32190
11/14/2022, 11:11 PMbusy-vase-39202
11/14/2022, 11:18 PMancient-accountant-55836
11/15/2022, 3:12 AMbitter-ability-32190
11/15/2022, 10:43 AMbitter-ability-32190
11/17/2022, 9:03 PM