Compound Run Configuration

Answered

Trying to use an existing repo which contains both dotnet and js stuff. We have a number of run configurations set up in Rider, including compound configurations to run multiple projects at once.

With the new configuration style, Fleet is able to pick up the invidual run configurations and I have successfully copied those into the run.json but Fleet doesn't seem to pick up the compound build configs.

Additionally there is nothing in the documentaiton that seems to explain how to set up these compound configs, the chaining doesn't seem to be doing what I need it to do.

1
5 comments

From the main menu, select Run | Edit Configurations. Alternatively, press Ctrl+Alt+Shift+R , then 0 . or press Ctrl+N , then select Compound.  clickercounter.org    Specify the run/debug configuration name in the Name field.PyCharm uses run/debug configurations to run, debug, and test your code. Each configuration is a named set of startup properties that define what to execute and what parameters and environment should be used. With different startup properties, you can define different ways that PyCharm uses to execute your script. The startup configuration is the configuration your devices run on when they reboot or power up. The running configuration is the current version of the configuration file the device runs on.

0

There is no Run > Edit configurations in our setup. Both VSCode and Rider both have simple options to create these, but I can't see it in Fleet when the autocomplete pops up when editing run.json.

0

Additionally there is nothing in the documentaiton that seems to explain how to set up these compound configs, the chaining doesn't seem to be doing what I need it to do.

The run configuration chaining is exactly how compound configuration in Fleet is supposed to work, please check Chained Configurations documentation topic.

If it does not work for you, could you please describe what exactly is not covered?

For debugging with compound/chained configuration we have this request: 

FL-16761 Ability to debug compound (chained) run configuration

0

I have multiple node configurations set up while each of them triggers a long running task that was supposed to be kept in background, and then I would like to have a single command that triggers all those configurations in parallel. Chained configurations won't work because it is in sequence and one configuration won't start if the previous one isn't finished, which it would never finished until human intervention.

0
Hello,

Can you please describe your case in more details. What language are you working with and what configuration you want to be run in parallel?

Please see the sample of the config for parallel gradle tasks (it uses the "allowParallelRun": true flag):
```
{
"configurations": [
{
"name": "Run Petclinic",
"type": "gradle",
"tasks": ["bootRun"],
"debugJvm": "true",
"allowParallelRun": true,
},
{
"name": "Run Terminal",
"type": "command",
"program": "/bin/sh",
"allowParallelRun": true,
},
]
}

```


0

Please sign in to leave a comment.