title: How to get TypeScript, StandardJS and the js.map file all working
body: <p>So we're using TypeScript.
  We need to have the final JavaScript conforming to standardJS <a href="https://standardjs.com/" rel="nofollow noreferrer">https://standardjs.com/</a>
  So I was looking at running &quot;standard --fix&quot; to make the .js files generated from the .ts files all fixed and confirming to the standard.
  But this seems to stop debugging being able to work, no breakpoints are mapping correctly.
  I'm assuming this is due to the .js.map file not correctly matching the rows in the .js file.
  It does seem to work OK for smaller .ts files even if the line numbers but not the larger .ts files.</p>
  <p>NOTES: When I set a breakpoint in a .ts file after running &quot;standard --fix&quot; then it looks disabled and says &quot;Unbound breakpoint&quot; when you hover over it. When I set a breakpoint on the generated .js file that all works fine.</p>
  <p>Any help/info/ideas gratefully received.</p>