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 <[email protected]> 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>
