If you try to debug a test using the sidebar icon, the working directory is set to 'sourceDir' if 'test.workDir' is not available: https://github.com/mesonbuild/vscode-meson/blob/af5d9fcd06669bc89c6fc682bc17d719b6768fae/src/tests.ts#L281 However, Tasks.ts uses 'buildDir' as default working directory (as expected).
If you try to debug a test using the sidebar icon, the working directory is set to 'sourceDir' if 'test.workDir' is not available:
vscode-meson/src/tests.ts
Line 281 in af5d9fc
However, Tasks.ts uses 'buildDir' as default working directory (as expected).