I've some custom publish meta being produced and able to increase a post's meta. I understand how to get this done however save_post leads to a redirection after Publish data continues to be sent. What this means is I'm rerouted towards the dashboard and lose use of my Publish data - well, i cannot debug easily.

Presently using something similar to:

add_action('save_post', 'something_process');
function something_process() {
   if(defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) return;

It is possible to method to easily debug this?

The very best solution I have found to date is storing the $_Publish inside a session var for access later.