[rt-users] where do you think is the best place to write & debug snippets of code?

Kevin Falcone falcone at bestpractical.com
Fri Aug 22 09:52:56 EDT 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 221 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140822/aa5b8323/attachment.sig>


More information about the rt-users mailing list