From 48ebf52f655ea31cb9dae2ffb903e432aacbf488 Mon Sep 17 00:00:00 2001 From: Fernanda Date: Fri, 29 May 2026 13:13:26 -0300 Subject: [PATCH] W-22569328-multi-project-runtime-config-fa --- ...multiple-integration-projects-locally.adoc | 63 ++++++++++++++++++- 1 file changed, 62 insertions(+), 1 deletion(-) diff --git a/modules/ROOT/pages/vibes-run-multiple-integration-projects-locally.adoc b/modules/ROOT/pages/vibes-run-multiple-integration-projects-locally.adoc index 8cc9fe3c8..27fcb67cd 100644 --- a/modules/ROOT/pages/vibes-run-multiple-integration-projects-locally.adoc +++ b/modules/ROOT/pages/vibes-run-multiple-integration-projects-locally.adoc @@ -5,7 +5,7 @@ Run multiple integration projects locally in one runtime to validate service-to- When an integration depends on multiple local Mule projects, starting each project manually can slow down validation and increase setup errors. MuleSoft Vibes can create a run configuration from your prompt and execute all selected projects together in the same local runtime instance. -Multi-project configurations use the default runtime arguments defined in Anypoint Code Builder settings (`Mule > Runtime: Default Arguments`). +Multi-project configurations use the default runtime arguments defined in Anypoint Code Builder settings (xref:ref-mule-settings.adoc#setting-mule-args[Mule > Runtime: Default Arguments]). == Before You Begin @@ -100,6 +100,67 @@ For example: } ---- +== Multi-Project Configuration Fields Reference + +When MuleSoft Vibes generates a multi-project launch configuration in your `.code-workspace` file, it includes fields that control execution mode and runtime behavior. Understanding these fields lets you update configurations without re-creating them from scratch. + +=== Execution Mode + +The `noDebug` field controls whether the configuration runs in run mode or debug mode: + +* `noDebug: true` — starts all projects without attaching the debugger (run mode). +* `noDebug: false` or omitted — attaches the debugger to all projects (debug mode). + +[source,json] +---- +{ + "type": "mule-xml-debugger", + "request": "launch", + "name": "Run All Projects", + "noDebug": true, <1> + "mule.projects": [ + "${workspaceFolder:main-project}", + "${workspaceFolder:project-one}" + ] +} +---- +<1> Set to `false` or remove this field to switch to debug mode. + +To switch modes, ask MuleSoft Vibes to update the configuration, or edit `noDebug` directly in your `.code-workspace` file. + +=== Runtime Arguments + +Runtime arguments aren't stored in the generated launch configuration. Instead, they're read from the `Mule > Runtime: Default Arguments` setting in Anypoint Code Builder and applied automatically when any configuration runs. + +To update runtime arguments for a multi-project run: + +. Open *Settings* in your IDE. +. Search for `Mule > Runtime: Default Arguments`. +. Add or update your arguments, for example `-M-Dencryption.key=my-key` or `-M-Denv=dev`. + +All projects in the multi-project configuration inherit the same default arguments. You can't set project-specific arguments through the launch configuration. + +For common runtime argument use cases, see xref:ref-mule-settings.adoc#setting-mule-args[Mule › Runtime: Default Arguments] and xref:int-create-secure-configs.adoc[]. + +=== Edit a Generated Configuration + +[cols="1,2",options="header"] +|=== +|To change |Do this + +|Execution mode (run or debug) +|Edit `noDebug` in the `.code-workspace` file, or ask MuleSoft Vibes to update the configuration. + +|Runtime arguments +|Update `Mule > Runtime: Default Arguments` in IDE settings. + +|Mule runtime or JDK version +|Edit `mule.runtime.version` or `mule.jdk.version` in the `.code-workspace` file. See <>. + +|Projects included in the run +|Ask MuleSoft Vibes to update the configuration, or edit `mule.projects` directly in the `.code-workspace` file. +|=== + == See Also * xref:vibes-get-started.adoc[]