调试 Scala 编译器代码

Debugging Scala compiler code

我需要了解 Scala 编译器的工作原理。

所以我克隆了包含 Scala 编译器代码的 Scala git 存储库 调试代码库的编译器部分的下一步应该是什么?

转到 IDE setup part of doc. And you will see there links to per-IDE instructions. E.g. instructions 了解 IDEA 非常有用。在所有步骤之后,您只需要在项目根目录中创建 sandbox 目录,在 sandbox 中创建您的 Test.scala class 并且比 run/debug