dajester2013 / lucee-debug

Debugging project for Lucee 5
1 stars 0 forks source link

Lucee Debug Webapp

This is an Eclipse project intended get you started with a debug environment for hacking on the Lucee 5 source code. Most of the environment is ready to go, however there are some additional steps you will need to take in order for you to begin debugging.

Setup

This guide is written with Eclipse 4.5.1 Mars in mind, but should be applicable to older versions.

Prerequisites:

Step 1: Import the Lucee 5 projects into your workspace

Step 2: Configure lucee-debug to use the current Maven version of Lucee

In order to load the dependency libraries properly, you must configure this project's pom.xml to use the specific version of Lucee that you have checked out into your workspace.

Jetty instructions:

Jetty is extremely simple to get started, however, it dumps all the config into your project. To combat this, I've included .gitignore entries to keep all the extra junk from being accidentally committed.

Tomcat instructions:

Tomcat is a bit more setup, but it deploys your code outside the project folder for runtime, and auto-syncs the files, keeping your project a bit cleaner.

To infinity and beyond

Congrats! You are now able to begin hacking on the Lucee runtime code! Changes in either the loader or core projects should be hot-swapped in, although Eclipse will let you know if you need to restart the servlet container. You can also set breakpoints and do stop-debugging within Eclipse on the loader or core projects.