title: ReferenceError: $ is not defined when debug
body: <p>I have this error message ReferenceError: $ is not defined when using vscode built-in debugger node.js Here is the html</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html lang="en"&gt;
  
  &lt;head&gt;
      &lt;title&gt;14. Getting Started with jQuery&lt;/title&gt;
      &lt;script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"&gt;&lt;/script&gt;        
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;script type="text/javascript" src="js/app.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>Here is the app.js</p>
  
  <pre><code>$(function() {
  // start up code goes here
  alert("this works!");
  });
  </code></pre>
  
  <p>I put a breakpoint at the alert line and run the debug (node.js) in vscode. It stopped at $(function() { - the first line of app.js with error message of ReferenceError: $ is not defined. Seems like jQuery is not loaded.</p>
  
  <p>I tried</p>
  
  <pre><code>&lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"&gt;&lt;/script&gt;        
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"&gt;&lt;/script&gt;        
  </code></pre>
  
  <p>but none of them works. Please help.</p>