You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason for this is that debug can't simple compare the name anymore since a prelaunch task can be referenced now by: name or label or user defined identifier or TaskDefinition (e.g. `{type: 'npm', script: 'watch')). Task always had an id which I try to keep as stable as possible even if the user edits the tasks.json file. Debug should use the id instead of the taskName. For June I propose the following change in debugService.ts line 860ff
How do I compute the id: for tasks defined in the tasks.json it is a UUID based on the name and the position in the file. For tasks reference in the tasks.json or contributed by and extension it is a hash code (md5) over the task definition (e.g. {type: 'npm', script: 'watch'}). So if the user changes the name or the script it will be a different id.
@isidorn this is expected. The structure of the initial tasks.json file had only one top level task in which case the name is npm. So everything works there. If you customize a contributed task (which the tasks.json in this issue does) then you need to qualify the task to use.
The text was updated successfully, but these errors were encountered: