title: How to comfortably monitor variables in a VBscript during development process? (e.g. in a continuously opened command window)
body: <p>I need to write a huge <strong>VBscript</strong> to automatically run an application and I'm looking for a way to comfortably monitor what I'm actually doing, in other words, to display the values of some/all variables involved in my script. </p>
  
  <p>I'm used to work with Matlab, where I have a comfortable workspace browser. When I run a Matlab script, all variables, their types and their values are accessible in that workspace and can be checked. </p>
  
  <p>The VBscript I write with <strong>Notepad++</strong> (it needs to be a free editor) and the only way I found to display variables was echoing them via <code>wscript</code> and <code>cscript</code>.</p>
  
  <hr>
  
  <p>I set up the <strong>shortcuts.xml</strong> with the following line to run my script directly from Notepad++:</p>
  
  <pre><code>&lt;Command name="Run with CScript" Ctrl="yes" Alt="no" Shift="yes" Key="116"&gt;cmd /K %windir%\system32\cscript.exe &amp;quot;$(FULL_CURRENT_PATH)&amp;quot;&lt;/Command&gt;
  </code></pre>
  
  <p>In case I include commands in my script like </p>
  
  <pre><code>Wscript.Echo myVar
  Wscript.Echo "Hello World!"
  </code></pre>
  
  <p>and run it with the newly introduced shortcut, a <strong>cmd</strong> window pops up and displays the value of myVar and "Hello World!".
  But the next time I run the script a new window pops up. So my question is: </p>
  
  <p><strong>Is it possible get a continuously opened output window, displaying all echoed values everytime I run a script?</strong> I actually want to put the window on a second screen and keep the values from previous runs. So I can enter a line <code>Wscript.Echo something</code>, run, check, enter something else and so on, without fiddling around with a bunch of opened windows.</p>
  
  <hr>
  
  <p><strong>Alternatively, is there any open-source/free editor which offers an accessible workspace like the one in Matlab?</strong> </p>
  
  <p><img src="https://i.stack.imgur.com/aC5dy.png" alt="enter image description here"></p>