title: Debugging Jinja2 templates in VSCode
body: <p>So I found the <code>&quot;jinja: &quot;true&quot;</code> option for launch.json and am trying to make jinja debugging work, unsuccessfully so far.</p>
  <p>My launch.json is currently:</p>
  <pre><code>{
      &quot;version&quot;: &quot;0.2.0&quot;,
      &quot;configurations&quot;: [
          {
              &quot;name&quot;: &quot; uvicorn debug&quot;,
              &quot;type&quot;: &quot;python&quot;,
              &quot;request&quot;: &quot;launch&quot;, // set to &quot;test&quot; for &quot;justMyCode&quot; to work. 
              &quot;module&quot;: &quot;uvicorn&quot;,
              &quot;args&quot;:
              [
                  &quot;project.asgi:app&quot;,
                  &quot;--reload&quot;,
              ],
              &quot;jinja&quot;: true,
              &quot;justMyCode&quot;: false
          }
      ] }
  </code></pre>
  <p>I faced a problem that I could not set up breakpoints in jinja template file, but solved it adding <code>&quot;debug.allowBreakpointsEverywhere&quot;: true</code> to vscode settings.</p>
  <p>My questions are as follows:<br />
  a) How is debugging template supposed to work? I add  breakpoint anywhere in the template and execution stops there? Or maybe this <code>'jinja': true</code> means something completely different?<br />
  b) Based on the response on a), if breakpoints in jinja template file should work, how to make this happen, as currently they seem to just be ignored?</p>
  <p>Thanks a lot!</p>