Did you know MyEclipse has 2-Click Deploy & Run Debugging? A lot of long-time MyEclipse users and new-MyEclipse users are very familiar with the more standard approach of first creating a deployment of their project to their configured application server, then starting up the application server, then opening a browser and navigating to their deployed application.

That's not bad, that still works just fine if that is what you want to do in MyEclipse, but if you are writing some code, and just want to fire that project up inside of MyEclipse and see it running, it's just 2-clicks away... here's how:

Let's say you have an ICEfaces project like this:


... and you want to debug it. Go ahead and set some breakpoints in your code, where ever you want to debug a portion of the app.

Now you need to deploy it to an app server and make sure it starts up in debug mode... EASY!

Click #1: Right-click on the project, go down to Debug As and...

Click #2: ...click MyEclipse Server Application:


What happens next are the following automatic actions for you:

  1. Add or Update the deployment to the selected app server in Exploded Mode
  2. Restart the Application Server so your changes are reloaded
  3. Open up a Browser view, automatically pointing at your newly deployed application

What you end up is something like this:


And you're done, you can click around your app, hit your breakpoints and debug everything in instant simplicity.

This is true for EAR Projects, EJB projects, Web projects or even dependent Java library projects. It's all this easy.

Happy coding!

Related Posts

2017 CI 11 – Sprucing up Your IDE 2017 is over, but our commitment to improving our products continues, as we bring to you our 2017 CI 11 release. It comes with key fixes and improvements in the TypeScript space, as well as the new two-way theme sharing in DevStyle, among others.NOTE: This release does not include MyEclipse, which will be released shortly.Angular & TypeScriptAd...
Introducing DevStyle – Rebooting EclipseR... Yesterday we released the first production version of DevStyle, a free add-on for Eclipse. DevStyle seeks to dramatically improve the Eclipse user experience for millions of developers with the introduction of modern developer ergonomics and the beautiful styling you’ve come to expect from products in 2017.Over the years, the Eclipse evolution has ...
Equifax Data Breach Advisory Many of you may have heard of the Equifax data breach, possibly affecting millions of consumers. Information accessed by hackers during the incident included Social Security numbers, personal details, driver’s license numbers, and even credit card numbers.Equifax has confirmed that the breach was made possible by a vulnerability in the Apache Strut...
SDC 2017 SR2 – Software Delivery Evolving Fu... Perhaps you're already a fan of the delicious combo offered by our Secure Delivery Center (SDC) -- you get the right software to your teams and manage a variety of actions (licenses, software updates, rollouts and standardization).  With our new version of SDC, we are bringing even more yummy features to the table!What is included in our 2017 SR2 r...

Posted on Aug 18th 2009