title: Best way to find out which php file has generated an html line of code in WordPress
body: <p>Using Chrome you can right click - Inspect element to see the html code behind that element:</p>
  
  <p><img src="https://i.stack.imgur.com/tRNnk.png" alt="Chrome inspect element example"></p>
  
  <p>I wonder how to find which php file has generated that html. Maybe there is some tool to put a breakpoint into the html so the php server will stop when trying to generate it again?</p>
  
  <p>I'm using WordPress locally. I'm on Ubuntu 14.04LMS. I'm using Sublime Text 3 with XDebug.</p>
  
  <hr>
  
  <p><strong>UPDATE 1</strong></p>
  
  <p>A WordPress plugin able to put, in every file, something like the following would be a good solution (I think from my beginner's viewpoint):</p>
  
  <pre><code>echo '&lt;!-- name_of_the_php_file.php --&gt;';
  </code></pre>