title: Run javascript file from the workspace in chrome developer tools
body: <p>Is it possible to run a newly created JavaScript file in a local workspace in the chrome developer tools console? </p>
  
  <p>The workflow I'm trying to achieve is the one shown in this image:</p>
  
  <p><img src="https://i.stack.imgur.com/dlBUs.png" alt="enter image description here"></p>
  
  <p>I want to be able to create a new file in my workspace, run (or require or whatever) the file and be able to use it's functions and variables in the chrome developer console.</p>
  
  <p>If I'm correct, this means running the script within the context of the webpage and adding the methods and variables to the window object?</p>
  
  <p>Is their a way this can be done?</p>