Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 <<Set Explicit Mule and JDK Versions>>.

|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[]
Expand Down