title: Explore and debug vim script
body: <p>I would like to dynamically debug a vim script. My current workflow is that I have the autoload plugin opened on a tmux pannel and the running application on the other pannel. I also set a <code>tail -f vim.log</code> and I launched vim with <code>vim -V15vim.log</code>. My goal is to monitor the execution of the plugin by adding plenty of <code>echom</code>.</p>
  
  <p>Actually I was expecting something more useful that what I actually got. </p>
  
  <ul>
  <li>I need to restart vim everytime I add a new <code>echom</code></li>
  <li>Nothing really useful is displayed on the log file <code>vim.log</code></li>
  <li>This method is obviously not the right one</li>
  </ul>
  
  <p>I also tried to add breakpoints with <code>breakadd func myfunc#test</code> but it is not really working because the debugger windows interfers with the main window and change the way the plugin I am debuging behave.</p>
  
  <p>How to improve my vim-script debug workflow?</p>
  
  <p><strong>HINT</strong></p>
  
  <p>I am actually trying to debug the <code>vim-multiple-cursor</code> plugin which does not work with a column block selection and virtualedit enabled. I would like to fix it. </p>