File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
frontend/src/main/scala/bloop/dap Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -57,18 +57,14 @@ private final class MainClassDebugAdapter(
5757 val javaRuntime : Option [JavaRuntime ] = JavaRuntime (env.javaHome.underlying)
5858 def name : String = s " ${getClass.getSimpleName}( ${project.name}, ${mainClass.className}) "
5959 def start (state : State , listener : DebuggeeListener ): Task [ExitStatus ] = {
60- // TODO: https://github.com/scalacenter/bloop/issues/1456
61- // Metals used to add the `-J` prefix but it is not needed anymore
62- // So we cautiously strip it off
63- val jvmOptions = mainClass.jvmOptions.map(_.stripPrefix(" -J" ))
6460 val runState = Tasks .runJVM(
6561 state,
6662 project,
6763 env,
6864 project.workspaceDirectory.getOrElse(project.baseDirectory),
6965 mainClass.className,
7066 mainClass.arguments.toArray,
71- jvmOptions.toArray,
67+ mainClass. jvmOptions.toArray,
7268 mainClass.environmentVariables.getOrElse(Nil ),
7369 RunMode .Debug
7470 )
You can’t perform that action at this time.
0 commit comments