The parameter name has to be prefixed with spring-boot.
as in -Dspring-boot.run.jvmArgument
The Spring Boot documentation provided me the solution as I’m running Spring Boot 2.0.3
mvn spring-boot:run -Dspring-boot.run.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"
More Related Contents:
- How do I tell Spring Boot which main class to use for the executable jar?
- java.lang.NoClassDefFoundError: org/springframework/core/env/ConfigurableEnvironment
- Configure active profile in SpringBoot via Maven
- Run Spring-boot’s main using IDE
- package org.springframework.boot does not exist
- Maven Resource Filtering with Spring Boot: Could not resolve placeholder
- How to configure port for a Spring Boot application
- What is this spring.jpa.open-in-view=true property in Spring Boot?
- Spring Boot REST service exception handling
- Spring-Boot Jersey: allow Jersey to serve static content
- Spring Boot how to hide passwords in properties file
- Why does my Spring Boot App always shutdown immediately after starting?
- Why is Maven downloading the maven-metadata.xml every time?
- How to set base url for rest in spring boot?
- What is the difference between putting a property on application.yml or bootstrap.yml in spring boot?
- Unable to complete the scan for annotations for web application [/app] due to a StackOverflowError
- What is the default scheduler pool size in spring-boot?
- Spring Security 5 : There is no PasswordEncoder mapped for the id “null”
- How to exclude *AutoConfiguration classes in Spring Boot JUnit tests?
- How to externalize Spring Boot application.properties to tomcat/lib folder
- Difference between Interceptor and Filter in Spring MVC
- Spring Boot, logback and logging.config property
- Encoded password does not look like BCrypt
- Can I negate (!) a collection of spring profiles?
- @TestPropertySource doesn’t work for JUnit test with AnnotationConfigContextLoader in Spring 1.2.6
- spring Exception when running application on WebSphere with java 8
- How can I run a Spring Boot application on port 80
- How do I disable resolving login parameters passed as url parameters / from the url
- How to customise Jackson in Spring Boot 1.4
- SpringBoot ComponentScan issue with multi-module project