ERROR: -Xdebug is not supported by this script

ERROR: -Xdebug is not supported by this script

 bin/solr start -e techproducts -m 5g -Duser.timezone=US/Eastern -Xdebug -Xrunjdwp:server=y,suspend=n,transport=dt_socket,address=8000

错误:-Xdebug 不受此脚本支持

当我在调试模式下 运行ning solr6.6 时,它给我错误。 谁能告诉我如何在调试模式下 运行 solr?

这个确切的用例在脚本的示例中给出:

./solr start -c -m 1g -z localhost:2181 -a \"-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044\""

-a            Additional parameters to pass to the JVM when starting Solr, such as to setup
              Java debug options. For example, to enable a Java debugger to attach to the Solr JVM
              you could pass: -a \"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=18983\"
              In most cases, you should wrap the additional parameters in double quotes.