Debugging in JDeveloper
As you have already noticed, deploying the application on the built-in WebLogic server is much faster than deploying it to GlassFish. That's why you'll want to develop and debug your application on WebLogic and occasionally deploy it for testing on GlassFish. In theory, your ADF Essentials application is just a JEE application like any other—so, if it runs on WebLogic, it should run on GlassFish. In practice, you'll want to make sure it does run on GlassFish.
Tip
Automated deployment
It is a good idea to develop an automated build of the application. If you combine this with a continuous integration tool like Hudson/Jenkins, you can set up an automatic build and deploy to GlassFish to run once a day. That will enable you to check that the code you develop on WebLogic can also be deployed on GlassFish. If you add some simple UI testing to your automated build script, you can even verify that your code actually runs on GlassFish.
Debugging code
In order to debug your application...