# Asterisk Project : AEL Debugging

Added by mdavenport , edited by pabelanger on May 22, 2011

Right at this moment, the following commands are available, but do nothing:

- Enable AEL contexts debug

      *CLI> ael debug contexts

- Enable AEL macros debug

      *CLI> ael debug macros

- Enable AEL read debug

      *CLI> ael debug read

- Enable AEL tokens debug

      *CLI> ael debug tokens

- Disable AEL debug messages

      *CLI> ael no debug

Icon

If things are going wrong in your dialplan, you can use the following facilities to debug your file:

1. The messages log in /var/log/asterisk. (from the checks done at load time).
2. The "show dialplan" command in asterisk
3. The standalone executable, "aelparse" built in the utils/ dir in the source.

## Comments:

In order to avoid confusion, maybe the CLI lines could have the '>' symbol, so no one tries to execute 'CLI ael no debug' or something like that. Note: Feel free to delete this comment if suggestion is accepted. Posted by khratos at May 20, 2011 10:18
Fixed. Ideally we should create a macro for all CLI commands. Posted by pabelanger at May 22, 2011 21:00