-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use preLaunchTask with two configurations #24595
Comments
This is the problem of the task framework only supporting to run one task at a time. |
@isidorn not sure, because I use tasks version 2.0.0. and I'm able to run both watch task at the same time without problems. But if two watch task are running I'm unable to start debugging if preLaunchTask is also set. |
@edvinv this issue is probably that the |
@isidorn actually the new runner support starting more than one tasks but the debugger needs to adopt this. Since the new terminal is not the default yet I recommend that we wait with the adoption. What is clear is that I need to let the debugger now whether the task framework supports multiple parallel tasks or not since users could still configure the old runner. Opened #24670 to track this. Assigning back to you. |
Assigning to Mai since this is dependent on #24670 |
@isidorn sorry for this. Lets move to June. It is a little late for feature although this is not too complicated. |
@isidorn @dbaeumer was this corrected in last release 1.18? Because now I'm able to have compound launch configuration, containing two launch configurations, each having different preLaunchTask task and Start debugging (F5) correctly starts both prelaunch tasks. The problem is then is that debugger doesn't wait for both tasks to end before attaching debug session. |
This got addressed with the new task 2.0.0 support which allows to run multiple launch configs. The canot be tracked issues is discussed here: #37997 |
Steps to Reproduce:
If I start srv debugging all works ok. But if I then start web debugging I get "There is a task srv running. Can not run pre launch task web." Same happens if I start compound task named both.
But I'm able to run both tasks srv and web at the same time if I start them with Run task command. Of course, I must remove preLaunchTask, if I want to start debugging, otherwise I get same error.
br
The text was updated successfully, but these errors were encountered: