Monitor particular application's Apple Event stream


For the programmers out there who care about such things, an article on MacOS X Hints shows how to watch an application's Apple Event stream from the console.

% setenv AEDebug 1
% setenv AEDebugSend 1
% setenv AEDebugReceives 1

and then open the application from the command line.