scala 在intellij中调试scala代码?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12504111/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-22 04:32:42  来源:igfitidea点击:

debug scala code in intellij?

scalaintellij-idea

提问by jerry

I just join a team heavily using scala. We use intellij CE with scala plugin.

我只是加入了一个大量使用 Scala 的团队。我们使用带有Scala插件的intellij CE。

So far everything seems to work except the debugger.

到目前为止,除了调试器之外,一切似乎都在工作。

Does anyone know about how to setup debugger for scala in intellij? Is there any good on-line resource for it?

有谁知道如何在 intellij 中为 scala 设置调试器?有什么好的在线资源吗?

Thanks!

谢谢!

回答by Enrique

It depends if it's a desktop or a web app, anyway this thread should be useful for you: Debugging Scala code with simple-build-tool (sbt) and IntelliJ

这取决于它是桌面应用程序还是 Web 应用程序,无论如何这个线程应该对你有用:Debugging Scala code with simple-build-tool (sbt) and IntelliJ