try {
ACLMessage msg = getRequest();
msg.setOntology(JADEManagementOntology.NAME);
DebugOn dbgOn = new DebugOn();
dbgOn.setDebugger(getAID());
dbgOn.addDebuggedAgents(name);
Action a = new Action();
a.setActor(getAMS());
a.setAction(dbgOn);
getContentManager().fillContent(msg, a);