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 2026/01/15 14:40:26 UTC
(sling-org-apache-sling-mcp-server) 20/27: 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-org-apache-sling-mcp-server.git
commit 713be81acb41f7a8db03dd35cf3c220b5d199803
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
---
pom.xml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/pom.xml b/pom.xml
index 919caad..d286092 100644
--- a/pom.xml
+++ b/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>