-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Labels
Description
Currently, custom configurations must be configured manually with one of these settings:
inConfig(CustomConfig)(DebugAdapterPlugin.runSettings)
inConfig(CustomConfig)(DebugAdapterPlugin.testSettings)Otherwise, it is not possible to run/debug the main classes and the tests of these configuration.
For example this is how to configure the debugger for the IntegrationTest config:
lazy val root = (project in file(".")).
configs(IntegrationTest)
.settings(
Defaults.itSettings,
inConfig(IntegrationTest)(DebugAdapterPlugin.testSettings), // configure the debugger for IntegrationTest
...
)To improve this we can try to use the onLoad setting in sbt and configure the debugger automatically.