Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-1925

Enable remote debugger in JBossAS/WildFly for all tests

    Details

      Description

      We need to enable the debugger in all arquillian.xml files. To do this:

      1. Add this to each arquillian.xml:

              <configuration>
                  <property name="javaVmArguments">${server.jvm.args}</property>
                  ....
              </configuration>
      

      2. Update the server.jvm.args in each maven profile for running the Arquillian tests:

      <server.jvm.args>..... ${jvm.args.debug}</server.jvm.args>
      

      Look at the XTS/localjunit/pom.xml for an example. You will notice that not all Arquillian profiles configure the server.jvm.args. In which case you will need to add the config to match the others.

      3. Add this property to the root pom,xml:

       <jvm.args.debug>-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n</jvm.args.debug>
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gytis gytis
                Reporter:
                paul.robinson Paul Robinson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: