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

CodeMix – Better with You! Thanks to detailed feedback from our awesome users, our team has been hard at work adding stability, reliability and performance fixes, and enhancements, to CodeMix. Read on for the deets on what’s new in CodeMix over the last month.Editing & ValidationWhen editing TypeScript files, error markers were sometimes not cleared when the error was fi...
A Day with Dani: Eclipse Plugin for Awesome Worksp... DevStyle Rescued My Workspace!As a new developer working in Eclipse, nothing was worse than doing a project and looking at an outdated, plain workspace. It was boring, and took away from the excitement and learning these projects had to offer. This was an IDE I would be using almost every day, so when I learned about the DevStyle plugin for Eclipse...
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 ...

Posted on Aug 18th 2009