[
https://issues.apache.org/jira/browse/SOLR-6486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Potter updated SOLR-6486:
---------------------------------
Attachment: SOLR-6486.patch
Went with -a (for additional options); example:
{code}
bin/solr start -a
"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=18983"
{code}
In most cases, you'll need to wrap the value for -a in double-quotes so I've
included that as a tip in the usage.
This approach allows the user to pass additional parameters to the JVM when
starting Solr, such as Noble's example of setting Java debug args.
Patch tested on Mac and Windows Server 2012
> solr start script can have a debug flag option
> ----------------------------------------------
>
> Key: SOLR-6486
> URL: https://issues.apache.org/jira/browse/SOLR-6486
> Project: Solr
> Issue Type: Bug
> Components: scripts and tools
> Reporter: Noble Paul
> Assignee: Timothy Potter
> Attachments: SOLR-6486.patch
>
>
> normally I would add this line to my java -jar start.jar
> -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=18983
> the script should take the whole string or assume the debug port to be
> solrPort+10000 (if all I pass is debug=true) or if
> debug="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=18983)
> use it verbatim
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]