> -----Original Message----- > From: Jayapal Reddy Uradi [mailto:[email protected]] > Sent: Thursday, June 07, 2012 9:30 AM > To: [email protected] > Subject: kvm agent debugging > > Hi, > > How to connect the debugger in eclipse to kvm agent for debugging. > > > 1. I started the management server in debug mode, using eclipse > IDE. > > 2. Agent is installed in kvm host. > > In case of xenserver host I can connect the debugger to 8787 port and > debug, > In case of kvm what are the steps in eclipse and kvm agent start, > to enable the debugger to connect with remote agent.
Need to enable debug port for the agent java process: Edit "/usr/libexec/agent-runner", add "-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n" behind "java -Xms128M -Xmx384M " Then restart cloud-agent. > > Thanks, > Jayapal
