错误:此脚本不支持-Xdebug


LOGO
2025-03-13 07:38:53 (4天前)
  1. bin / solr start -e techproducts -m


5克
</跨度>
-Duser.timezone = US / Eastern -Xdebug -Xrunjdwp:server = y,suspend = n,transport = dt_socket,address = 8000

错误:此脚本不支持-Xdebug

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

2 条回复
  1. 0# 敢嫁就敢娶 | 2019-08-31 10-32



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




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

    2. -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.

    3. </code>

登录 后才能参与评论