-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Multi-root: support Compound debug configurations across workspace folders #38134
Comments
I think this feature request makes perfect sense. But I would wait a bit for users to pick up multi root workspaces and see if users jump on this feature before doing anything here. |
@auchenberg in your initial comment you said
I assume that you've meant:
I've changed the title of this issue to reflect this. |
We have to decide whether a compound launch config spanning different folders is only allowed in a workspace launch config or in individual folder launch configs. The former case is covered by feature request: #36967 |
You could make the argument that a |
Is there an estimated release date for this? |
One part of this feature is a new syntax for root-folder based variables. |
This work is planned for December/January. |
Topics:
Topic 1: "compounds": [
{
"name": "Start Server & Client",
"configurations": [
{
"folderPath": "server",
"configName": "Launch server"
},
{
"folderPath": "browser/client",
"configName": "Launch client"
}
]
}
] The "folderPath" attribute is optional which makes it possible to use the new syntax in the single folder case too. Topic 2: Topic 3: |
On top my head, my gut expectation would be to use
|
@auchenberg yes, that was basically Isidor's and my proposal but it was voted down as "unintuitive" in our standup meeting. /cc @VScode |
I would resist adding an ID to every workspace folder, and use the folder's path, like "folderPath" in your proposal. It seems very intuitive to me. It would make the compound config much more readable, if I see the real path to the folder, rather than some random number ID. |
+1 on avoiding another unique ID. Do we know what the usage ratio between relative and absolute paths are? Currently I like the simplicity of |
Yes, I do not like an additional (and unreadable) ID either. Just using the "path" doesn't work for me because "path" is not stable. |
Now we support the following:
Try it out and let me know how it goes. |
With multi-root its quite common to have back-end and front-end projects as separate folders loaded in the same workspace. Today a compound defined in one workspace folder doesn't seem to be able to reference another workspace debug config
We should enable compound debug configurations to work across workspaces, to enable a full-stack debug experience. We already provide a aggregated debug config list in the Debug UI.
The text was updated successfully, but these errors were encountered: