gray-apple-58935
10/24/2025, 11:40 AMpants test --debug-adapter ... , if I run pants run --debug-adapter ... , top level code is executed but not test body.
I put more context here - https://github.com/pantsbuild/pants/discussions/22788
is this a bug or have I missed some setting in launch.json or pants.toml?wide-midnight-78598
10/24/2025, 11:59 AMgray-apple-58935
10/24/2025, 3:20 PMwide-midnight-78598
10/24/2025, 6:52 PMwide-midnight-78598
10/24/2025, 6:53 PMpants test --debug-adapter src/python/pants/backend/cc/lint/clangformat/rules_integration_test.py
{
"configurations": [
{
"name": "Python Debugger: Remote Attach",
"type": "debugpy",
"request": "attach",
"connect": {
"host": "localhost",
"port": 5678
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "."
}
]
}
]
}wide-midnight-78598
10/24/2025, 6:56 PMexample-python hello-worldwide-midnight-78598
10/24/2025, 6:57 PMthousands-plumber-33255
10/25/2025, 8:43 AMwide-midnight-78598
10/25/2025, 12:25 PMgray-apple-58935
10/27/2025, 8:29 AMgray-apple-58935
10/27/2025, 8:36 AMgray-apple-58935
10/27/2025, 8:42 AMgray-apple-58935
10/27/2025, 10:35 AMdef test_math():
qweert = 123
print(qweert)
assert 1 + 1 == 2
with a breakpoint on the print line, this still did not catch - it must be something about the repo setup. The pants version is 2.29.0 in both repos, looking for differences between the setupswide-midnight-78598
10/27/2025, 11:26 AMwide-midnight-78598
10/27/2025, 11:27 AMwide-midnight-78598
10/27/2025, 11:28 AMgray-apple-58935
10/27/2025, 11:47 AMgray-apple-58935
10/27/2025, 11:49 AMgray-apple-58935
10/27/2025, 11:50 AMgray-apple-58935
10/27/2025, 11:51 AMwide-midnight-78598
10/27/2025, 11:53 AMwide-midnight-78598
10/27/2025, 11:53 AMgray-apple-58935
10/27/2025, 11:53 AMgray-apple-58935
10/27/2025, 11:59 AMgray-apple-58935
10/27/2025, 12:33 PMgray-apple-58935
10/27/2025, 12:42 PMwide-midnight-78598
10/27/2025, 12:47 PMgray-apple-58935
10/27/2025, 12:48 PMgray-apple-58935
10/27/2025, 12:48 PMgray-apple-58935
10/27/2025, 12:48 PMwide-midnight-78598
10/27/2025, 12:49 PMgray-apple-58935
10/27/2025, 12:59 PMgray-apple-58935
10/27/2025, 1:00 PMwide-midnight-78598
10/27/2025, 1:01 PMgray-apple-58935
10/27/2025, 2:15 PM--debugpy-args="--log-to /tmp/mylogs" I get breakpoint in file that does not exist only in the failing repo which is a new point of differencewide-midnight-78598
10/27/2025, 2:17 PMgray-apple-58935
10/27/2025, 2:18 PMgray-apple-58935
10/27/2025, 2:18 PMgray-apple-58935
10/27/2025, 2:39 PMgray-apple-58935
10/27/2025, 3:55 PMwide-midnight-78598
10/27/2025, 3:59 PMgray-apple-58935
10/27/2025, 4:00 PMgray-apple-58935
10/27/2025, 4:09 PMgray-apple-58935
10/27/2025, 4:14 PMgray-apple-58935
10/28/2025, 9:17 AMgray-apple-58935
10/28/2025, 9:47 AMgray-apple-58935
10/28/2025, 4:30 PMwide-midnight-78598
10/28/2025, 4:37 PMfixed on my end by moving into a new repo.How did that change anything?
gray-apple-58935
10/29/2025, 9:39 AM