Skip to content

postDebugTask not found in MR workspace #118528

@movl03

Description

@movl03

Issue Type: Bug

In my code-workspace file I have two tasks (task A and task B) and a launch configuration defined. All of them are designed to run in the same workspace folder.
The launch configuration uses task A as a preLaunchTask and task B as a postDebugTask. I get the error that "Task 'B' can not be referenced from a launch configuration that is in a different workspace folder".

It works if I create a {$workspaceFodler}/.vscode/tasks.json and {$workspaceFodler}/.vscode/launch.json with the exact same tasks and launch configurations.

VS Code version: Code 1.53.2 (622cb03, 2021-02-11T11:48:44.518Z)
OS version: Linux x64 5.6.13-100.fc30.x86_64

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz (4 x 2592)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) 0, 1, 1
Memory (System) 15.63GB (1.66GB free)
Process Argv --no-sandbox --unity-launch --crash-reporter-id b6573aea-31f0-4c41-811a-3490a0f0ae84
Screen Reader no
VM 100%
DESKTOP_SESSION gnome
XDG_CURRENT_DESKTOP GNOME
XDG_SESSION_DESKTOP gnome
XDG_SESSION_TYPE wayland
Extensions (15)
Extension Author (truncated) Version
gitlens eam 11.2.1
latex-workshop Jam 8.16.1
python ms- 2021.2.633441544
jupyter ms- 2021.2.603412351
remote-containers ms- 0.158.0
cpptools ms- 1.2.2
hexeditor ms- 1.4.0
java red 0.76.0
command-variable rio 1.13.0
vscode-coverage-gutters rya 2.7.2
errorlens use 3.2.4
vscode-java-debug vsc 0.31.0
vscode-java-dependency vsc 0.18.1
vscode-java-test vsc 0.28.1
clang-format xav 1.9.0
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vstry244cf:30256637
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
dockersubsetcf:30265999
pythontbcf:30265426
vspre833:30267464

Metadata

Metadata

Assignees

Labels

*out-of-scopePosted issue is not in scope of VS CodedebugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions