title: How to debug the Nashorn JavaScript use the IntelliJ IDEA debugger ？
body: <p>I have clone this project. <a href="https://github.com/winterbe/java8-tutorial/" rel="nofollow noreferrer">https://github.com/winterbe/java8-tutorial/</a><br>
  And I want to debug the project's Nashorn JavaScript file use the IntelliJ IDEA debugger.<br>
  I run the Nashorn9.java in debug model, and I want to add a breakpoint at nashorn9.js.<br>
  But it is not working. When I run the debug model, the breakpoint in the  nashorn9.js having been ignoreed.
  The offical says the IDEA support this function after idea-13.<br>
  <a href="https://blog.jetbrains.com/idea/2014/03/debugger-for-jdk8s-nashorn-javascript-in-intellij-idea-13-1/#comment-421006" rel="nofollow noreferrer">https://blog.jetbrains.com/idea/2014/03/debugger-for-jdk8s-nashorn-javascript-in-intellij-idea-13-1/#comment-421006</a>  </p>
  
  <p>My envinments as follows:  </p>
  
  <p>IntelliJ IDEA 2017.1.1<br>
  Build #IU-171.4073.35, built on April 7, 2017<br>
  JRE: 1.8.0_112-release-736-b16 x86_64<br>
  JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o<br>
  Mac OS X 10.11.6  </p>
  
  <p>Updated:
  I have test some different verson IntelliJ IDEA.<br>
  Below is test results:  </p>
  
  <p>IntelliJ IDEA 2018.2.4  not support.<br>
  IntelliJ IDEA 2017.1.1  not support.<br>
  <strong>IntelliJ IDEA 14.1.7  support.</strong>  </p>