Add a debug "how-to" into the run start scripts

XMLWordPrintable

    • Type: Task
    • Resolution: Won't Fix
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: run
    • None

      In order to ease-up the setup of debugging Camunda Run, we could add an explanation into the start scripts and/or documentation on how to achieve it.

      What needs to be done?

      1. insert the following snippet before "-Dloader.path" in the start script:
        -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=5050,suspend=y
        
      2. with "suspend" set to "y", the startup of Run will pause, waiting for a debugger to connect to the defined port (5050 in this case here)
      3. connect a debugger to localhost:5050 (e.g. by using an IDE and creating a remote debug application to that URL)
      4. debug

      Optional:

      • bake debugging into the start scripts as an optional parameter like "--debug" (maybe with a port and suspend yes/no?)

            Assignee:
            Unassigned
            Reporter:
            Tobias Metzke-Bernstein
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: