On Fri, Aug 22, 2014 at 09:47:16AM -0400, Al Joslin wrote: > where do you think is the best place to write & debug snippets of code? > for instance, I'm writing a callback to add a button that will create a child > ticket and copy all of the custom fields into the new ticket > but every time I change the code I've got to clear the mason cache, and > restart the httpd and cross my fingers and hope that the new code comes down > I'm thinking of putting that code into a scrip - as an easier place to debug
http://bestpractical.com/docs/rt/latest/RT_Config.html#DevelMode Debugging a callback in a Scrip context would be... mostly impossible for me given the radically differing arguments. -kevin
pgp0RUPxI87hO.pgp
Description: PGP signature
-- RT Training - Boston, September 9-10 http://bestpractical.com/training
