Browse Source

Remove legacy debugger instructions (#60583)

In the past, the only way to run a local Elasticsearch build with a remote debugger was by extracting elasticsearch and passing ES_JAVA_OPTS. However, since switching to gradle, a convenience flag was added, `--debug-jvm` (which is documented elsewhere in the testings docs), when running a local elasticsearch build through gradle. This commit removes the old documentation.
Qaiser Abbasi 5 years ago
parent
commit
682b9460ca
1 changed files with 0 additions and 7 deletions
  1. 0 7
      TESTING.asciidoc

+ 0 - 7
TESTING.asciidoc

@@ -622,13 +622,6 @@ as its build system. Since the switch to Gradle though, this is no longer possib
 the code currently used to build Elasticsearch does not allow JaCoCo to recognize its tests.
 For more information on this, see the discussion in https://github.com/elastic/elasticsearch/issues/28867[issue #28867].
 
-== Debugging remotely from an IDE
-
-If you want to run Elasticsearch and be able to remotely attach the process
-for debugging purposes from your IDE, can start Elasticsearch using `ES_JAVA_OPTS`:
-
----------------------------------------------------------------------------
-ES_JAVA_OPTS="-Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=4000,suspend=y" ./bin/elasticsearch
 ---------------------------------------------------------------------------
 
 Read your IDE documentation for how to attach a debugger to a JVM process.