title: How to debug PHP code in a file with a different file extension
body: <p>I have project, which has files with <code>.php.t</code> extension. There may be a <em>PHP</em> code and code, specific to the project core. </p>
  
  <ul>
  <li><code>php.ini</code> has all configuration that needed. </li>
  <li><em>PhpStorm</em> is fully configured and works. </li>
  <li><code>.php.t</code> is associated with <em>PHP</em></li>
  </ul>
  
  <p>If I set a breakpoint in a <code>.php</code> file and launch debugging project as "PHP Web Page" - debug session is starting successfully. But if I set a breakpoint in a <code>.php.t</code> file and launch debugging project as "PHP Web Page"  - nothing happens. If run debugging the file as  "PHP Script" - it works. But it is no sense for me, because there's a lot of dependencies in file, which must be include to file.</p>
  
  <p>What and Where I have to write or set up to debug <code>.php.t</code> files? Which way to dig?</p>
  
  <ul>
  <li>System: Ubuntu 18.04</li>
  <li>PHP: 7.2</li>
  <li><p>Full info about PhpStorm:</p>
  
  <pre><code>PhpStorm 2018.3
  Build #PS-183.4284.150, built on November 21, 2018
  Licensed to lb od
  Subscription is active until July 30, 2019
  JRE: 1.8.0_152-release-1343-b15 amd64
  JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
  Linux 4.15.0-54-generic
  </code></pre></li>
  </ul>