debugging a sbt project with intellij

MonkeyBonkey

I'm just getting started with scala and sbt. I've downloaded the sbt project https://github.com/spray/spray-template and I'm trying to debug run it. It makes/builds fine and I can get the unit tests to run with a specs2 configuration.

What run configuration should I use to run the web server and debug it? When I click on add new configuration I see Scala console and scala script as choices but doesn't look like either one is the equivalent of running re-start from the sbt console. How should I configure the debug run configuration so that I can get one click running of the project with the debugger attached?

Channing Walton

I haven't used spray-template but it looks like you can run the com.example.Boot class under the debugger from within IntelliJ. You should be able to right-click the class and run/debug it.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Intellij Fails to Import SBT project

From Dev

Why intellij import project from SBT failed

From Dev

IntelliJ "SBT project import" that creates two modules

From Dev

Intellij 15.0.5 issue with SBT and Scala project

From Dev

How to tell if Intellij considers a project to be maven or sbt?

From Dev

IntelliJ IDEA: Cannot import SBT project

From Dev

How to install library with SBT libraryDependencies in an Intellij project

From Dev

IntelliJ 14 - Create / Import a Scala / SBT project

From Dev

What are the differences in SBT Project and Scala Module in IntelliJ?

From Dev

Can't import sbt project in intellij 14

From Dev

Class Not Found running Scala in IntelliJ SBT project

From Dev

What are the differences in SBT Project and Scala Module in IntelliJ?

From Dev

Gradle Java debugging project in IntelliJ IDEA

From Dev

SBT remote debugging works in intellij but not when executing tests

From Dev

Intellij sbt plugin with project definition in project/Build.scala

From Dev

Understanding project structure when using SBT project in Intellij Idea

From Dev

SBT project refresh failing in IntelliJ IDEA with "Access is denied" error

From Dev

IntelliJ: multi-module scala (SBT) project source code refactoring

From Dev

What's recommended .gitignore for Scala/sbt project in IntelliJ IDEA?

From Dev

Why does creating sbt project in IntelliJ IDEA cause "Permission Denied"?

From Dev

How to create sbt project with an android module and run with Intellij ultimate?

From Dev

In intellij, how to refresh project after changing build.sbt

From Dev

IntelliJ IDEA : support both SBT and Maven on a single project

From Dev

Invalid project name after IntelliJ update in Java Play SBT

From Dev

IntelliJ: multi-module scala (SBT) project source code refactoring

From Dev

SBT project refresh failing in IntelliJ IDEA with "Access is denied" error

From Dev

IntelliJ Scala cannot build a simple project (SBT can)

From Dev

How to attach sources to scala sbt project at Intellij Idea?

From Dev

Does Intellij IDEA support debugging a project built with ant?

Related Related

  1. 1

    Intellij Fails to Import SBT project

  2. 2

    Why intellij import project from SBT failed

  3. 3

    IntelliJ "SBT project import" that creates two modules

  4. 4

    Intellij 15.0.5 issue with SBT and Scala project

  5. 5

    How to tell if Intellij considers a project to be maven or sbt?

  6. 6

    IntelliJ IDEA: Cannot import SBT project

  7. 7

    How to install library with SBT libraryDependencies in an Intellij project

  8. 8

    IntelliJ 14 - Create / Import a Scala / SBT project

  9. 9

    What are the differences in SBT Project and Scala Module in IntelliJ?

  10. 10

    Can't import sbt project in intellij 14

  11. 11

    Class Not Found running Scala in IntelliJ SBT project

  12. 12

    What are the differences in SBT Project and Scala Module in IntelliJ?

  13. 13

    Gradle Java debugging project in IntelliJ IDEA

  14. 14

    SBT remote debugging works in intellij but not when executing tests

  15. 15

    Intellij sbt plugin with project definition in project/Build.scala

  16. 16

    Understanding project structure when using SBT project in Intellij Idea

  17. 17

    SBT project refresh failing in IntelliJ IDEA with "Access is denied" error

  18. 18

    IntelliJ: multi-module scala (SBT) project source code refactoring

  19. 19

    What's recommended .gitignore for Scala/sbt project in IntelliJ IDEA?

  20. 20

    Why does creating sbt project in IntelliJ IDEA cause "Permission Denied"?

  21. 21

    How to create sbt project with an android module and run with Intellij ultimate?

  22. 22

    In intellij, how to refresh project after changing build.sbt

  23. 23

    IntelliJ IDEA : support both SBT and Maven on a single project

  24. 24

    Invalid project name after IntelliJ update in Java Play SBT

  25. 25

    IntelliJ: multi-module scala (SBT) project source code refactoring

  26. 26

    SBT project refresh failing in IntelliJ IDEA with "Access is denied" error

  27. 27

    IntelliJ Scala cannot build a simple project (SBT can)

  28. 28

    How to attach sources to scala sbt project at Intellij Idea?

  29. 29

    Does Intellij IDEA support debugging a project built with ant?

HotTag

Archive