Thanks a lot Dan and Martin.
On Wed, Jul 9, 2014 at 1:01 PM, Dan Haywood <[email protected]> wrote: > On 9 July 2014 08:08, Dileepa Jayakody <[email protected]> wrote: > > > Hi Dan, > > > > Can I run the server from console in debug mode? and connect the project > > from eclipse as a Remote application? > > > > Yup. > > > > > > I usually run the Isis server from console : mvn antrun:run > > > > > If you look in the generated webapp project there's a folder called > ide/eclipse/launch. This contains a bunch of .launch configurations. > They're just XML files, so if you look inside then you'll see that they > call a class we provide called org.apache.isis.WebServer. This bootstraps > the webapp inside a Jetty servlet container. > > So, to run Isis in debug mode, right click on one of those .launch files, > and choose Debug. > > Martin's suggestion of using mvnDebug would also work, but I think the > above is easier. > > Dan > > > > > > > Thanks, > > Dileepa > > > > > > On Wed, Jul 9, 2014 at 12:12 PM, Dan Haywood < > [email protected] > > > > > wrote: > > > > > Run > Debug. > > > > > > I generally use the ide/eclipse/launch/xxx.launch file with > > > --type=SERVER_PROTOTYPE to flip Isis into prototype mode too; this will > > > render any @Prototype actions and also runs Wicket in DEVELOPMENT mode. > > > > > > Dan > > > > > > > > > > > > On 9 July 2014 07:38, Dileepa Jayakody <[email protected]> > > wrote: > > > > > > > Hi Devs, > > > > > > > > Can I please know how to start Isis server in debug mode? > > > > > > > > I need to debug from Eclipse. > > > > > > > > Thanks, > > > > Dileepa > > > > > > > > > >
