scala-cli icon indicating copy to clipboard operation
scala-cli copied to clipboard

Options to make remote debugging of scala-cli project

Open lwronski opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. Providing options for remote debugging of Scala CLI project. For now, contributors have to specify explicitly debug options in forkArgs in the definition of module in build.sc.

Describe the solution you'd like I would like to have simply options to enable remote debugging of Scala CLI project.

Describe alternatives you've considered For example, when I run an integration test I would like to have options that enable remote debugging:

./mill integration.test.jvm 'scala.cli.integration.RunTestsDefault.*' --debug

if it possible, it could be a new flag -debug for mill. If not, it can be added env variable which can turn on/turn off remote debugging.

lwronski avatar Aug 03 '22 20:08 lwronski