Debugging #AJAX and FormAPI What is the easiest way to view current $form_state variables while working with #ajax?
Is there a way I can get dpm() to update automatically on each AJAX load?
If it matters, I'm testing AJAX on a Node Submit form.
Using dd($form_state); within the callback function works beautifully. 

On linux you can tail -f /tmp/drupal-debug.txt to see the $form_state in real time. (Or whatever the temp directory for your site is set to, often something like sites/yoursite.com/files/tmp.)

Otherwise, you can find drupal-debug.txt in your systems /tmp/ directory.
http://ratatosk.net/drupal/tutorials/debugging-drupal.html#dd