If you want to debug remotely, run the CloudStack Management Server with an
environment variable such as the following:

MAVEN_OPTS=-XX:MaxPermSize=512m -Xmx1024m -Xdebug
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n

Then in Eclipse, go to Debug Configurations and create a new Remote Java
Application.

Browse and select cloud-server for the Project field.

Enter you IP address for the Host field.

Assuming you used 8787 in MAVEN_OPTS, use 8787 for the Port field.

You may now run your management server and set breakpoints as need be.


On Thu, Sep 12, 2013 at 12:19 PM, Mike Tutkowski <
mike.tutkow...@solidfire.com> wrote:

> I prefer #3, as well.
>
>
> On Thu, Sep 12, 2013 at 10:09 AM, Chiradeep Vittal <
> chiradeep.vit...@citrix.com> wrote:
>
>> #3 works best, I think
>>
>> On 9/12/13 2:19 AM, "Punith s" <punit...@cloudbyte.com> wrote:
>>
>> >hi folks,
>> >
>> >i'm using Devcloud2 to build cloudstack 4.2 , currently i'm using *full
>> >sandbox mode* ,
>> >
>> >devcloud allows following modes ,
>> >*1.full sandbox mode - *build and deploy inside devcloud
>> >*2.deployment mode - *build code in localhost and deploying in devcloud
>> >*3.host only mode - *using devcloud only as host
>> >
>> >
>> >which mode do you think its feasible for development and  interactive
>> >debugging ?
>> >can you elaborate more on setting up remote debugging in Devcloud2
>> >(fullsandbox mode) using eclipse ??
>> >
>> >thanks,
>> >punith s
>>
>>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the 
> cloud<http://solidfire.com/solution/overview/?video=play>
> *™*
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Reply via email to