Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-12629

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

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • 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?)

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              tobias.metzke Tobias Metzke-Bernstein
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: