Hi Gothami,

On Fri, Oct 2, 2015 at 11:41 AM, Gothami Abayawickrama <goth...@wso2.com>
wrote:

> Hi all,
> I need to start the server in debug mode when running tests. Can somebody
> help me with this.
>

Are you trying to debug integration tests ? if yes, you can use
-Dsurefire.debug option to debug surefire process.

To debug product components set debug port for CarbonServerExtension in
automation.xml

<class>

<name>org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerExtension</name>
                    <parameter name="-DportOffset" value="900" />
                    <parameter name="cmdArg" value="debug 8000" />
   </class>

Thanks,
Krishantha.

Thanks,
> Gothami
> --
> *Gothami Abayawickrama*
> Software Engineer Intern, WSO2, Inc
> Mobile : +(94)717537697
> goth...@wso2.com
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middleware.
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to