Paste the code below on any files, where you'd like to display the WP Query variables.
global $wp_query; var_dump($wp_query->query_vars);