CF8 Debugger w/ Multi-server setup

  • Post author:
  • Post category:Uncategorized

For my local development, I have ColdFusion setup with the multi-server config. I was going through the directions for setting up the debugger, and came across this line: “If you are not running the server configuration of ColdFusion, you must specify Java debugging parameters in the configuration file or startup script of the application server you are running.” Well, I am running JRun, but the directions don’t give you any help on where to specify these Java debugging parameters. After a bunch of digging around, I was able to find the file you’ll need to edit: jrun_root/bin/jvm.config. In that file you will see a line that starts with “# Arguments to VM”. At the end of that line you need to add this:-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005but change the “address” to whatever port you specified in CFAdmin->Debugging & Logging->Debugger Settings.After I made that change, and restarted the ColdFusion server, the debugging finally worked.