CFBuilder debugger with code not under the webroot
Posted on 2011-02-23
I have a Coldfusion project that uses coldbox. Under the webroot, the only code I have is Application.cfc, index.cfm and coldboxproxy.cfc. All the other code is in another location, which from what I understand is a good thing from a security standpoint since not much code is directly exposed. The application itself works fine. This is a Flex frontend calling Coldfusion.
I have two projects set up in CFBuilder, one for what is under the webroot (those 3 files) and one for all the other code. I haved debug mappings under Windows->Preferences and under the Edit Server for the RDS server (it's a remote server). The mappings are set up for both projects, one for each.
Whenever I try debugging, I get a "Source not found" message. I try editing the source lookup path, but that doesn't seem to make a difference.
My other project that has the code underneath the webroot works fine with the CFBuilder debugger. When I used to have the new project (the one that does not work with the debugger) all underneath the web root, it did work with the debugger in finding the source code.
Any help appreciated.