title: How to make the debug function of haskell-idea-plugin work properly
body: <p>I installed haskell-idea-plugin to make a Haskell IDE.</p>
  
  <p>The plugin can do the following things as claimed on <a href="https://github.com/Atsky/haskell-idea-plugin" rel="nofollow noreferrer">https://github.com/Atsky/haskell-idea-plugin</a>.</p>
  
  <ul>
  <li>Haskell syntax highlight</li>
  <li>Cabal syntax highlight</li>
  <li>Error checking with ghc-modi.</li>
  <li>Simple completion based on ghc-modi</li>
  <li>Show type of symbol (Ctrl + Shift + T, or ⌘ + Shift + T on mac)</li>
  <li>Build of cabal projects</li>
  <li><p>Installation of cabal packages</p></li>
  <li><p>REPL</p></li>
  </ul>
  
  <p>But when I tried to debug the following simple Haskell file</p>
  
  <pre><code>module Main where
  
  main = do
      str &lt;- getLine
      putStrLn $ str++str
  </code></pre>
  
  <p>it reported: <code>Debug execution error: Internal error occured while executing debug process for untitled</code></p>
  
  <p>And here is my Haskell-debugger configuration:
  <img src="https://i.stack.imgur.com/eWMB2.png" alt="enter image description here"></p>
  
  <p>I also tried other options but it didn't work.</p>
  
  <p>And here is my environment:</p>
  
  <ol>
  <li>Ubuntu14.10</li>
  <li>oracle-jdk6.0</li>
  <li>IntelliJ IDEA 13.1.16</li>
  <li>haskell-idea-plugin</li>
  <li>ghc-mod</li>
  <li>remote-debugger</li>
  </ol>