Title: Trying to create output for debug
Last modified: August 19, 2016

---

# Trying to create output for debug

 *  [ed4becky](https://wordpress.org/support/users/ed4becky/)
 * (@ed4becky)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/trying-to-create-output-for-debug/)
 * I am trying to debug a plugin , specifically a scheduled job that is tied in 
   with a hook.
 * >  wp_schedule_event(time(), ‘daily’, ‘wp_refresh_asins’);
   >  add_action(‘wp_refresh_asins’,‘
   > refreshAsins’);
 * When refreshAsins runs, I want to see some output to verify settings, functionality
   etc as part of the development process.
 * How can I create output and where does it go? I have tried echo and trigger_error()
   but can’t find output generated by either.
 * What is the correct way to do this in the WordPress environment?

The topic ‘Trying to create output for debug’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [ed4becky](https://wordpress.org/support/users/ed4becky/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/trying-to-create-output-for-debug/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
