You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2025/12/12 16:23:56 UTC
(sling-whiteboard) 03/04: chore(mcp-server): allow starting feature launcher in debug mode
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git
commit 61f76f560d7782008eb6d11f593fc4828cefabff
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri Dec 12 17:22:46 2025 +0100
chore(mcp-server): allow starting feature launcher in debug mode
---
mcp-server/pom.xml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/mcp-server/pom.xml b/mcp-server/pom.xml
index 919caada..d286092a 100644
--- a/mcp-server/pom.xml
+++ b/mcp-server/pom.xml
@@ -34,6 +34,8 @@
<properties>
<sling.java.version>17</sling.java.version>
+ <!-- Run with -Dslingfeature.app.vmOption=-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=30303 for debug mode-->
+ <slingfeature.app.vmOption />
</properties>
<dependencies>
@@ -249,6 +251,11 @@
<launch>
<id>app</id>
<featureFile>${project.slingfeature.outputDirectory}/feature-app.json</featureFile>
+ <launcherArguments>
+ <vmOptions>
+ <vmOption>${slingfeature.app.vmOption}</vmOption>
+ </vmOptions>
+ </launcherArguments>
</launch>
</launches>
</configuration>