Replies: 3 comments
-
|
okay it's working now slightly. I'd like to set breakpoints inside the code really |
Beta Was this translation helpful? Give feedback.
-
|
adding this |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/stan-dot/pants-python-tests/blob/main/src/python/fast_test/test_fast.py
here's the test file
pants promises support, here.
pants test --debug-adapter src/python/fast_test/test_fast.pyworks ok, I can connect to top level code, but the tests wont' runIf I have top-level code I can see debugging with
pants run --debug-adapter, but the test def function is just consumed by the interpreter, not executed though. If I runpants test --debug-adapterit's also waiting for a client (good, as expected), however no breakpoints are showing.I'd like to set breakpoints inside the test function body.
how to connect to it from vscode though to see the breakpoints correctly?
Beta Was this translation helpful? Give feedback.
All reactions