The only way is to run the applications in development on the correct versions of ColdFusion.
I have projects that use different versions of ColdFusion and I simply have multiple versions installed on my development machine and start up whatever version I need based on which project I am working on. This ensures that the code I am writing will work with the version I need.