File tree 1 file changed +1
-5
lines changed
frontend/src/main/scala/bloop/dap
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(
57
57
val javaRuntime : Option [JavaRuntime ] = JavaRuntime (env.javaHome.underlying)
58
58
def name : String = s " ${getClass.getSimpleName}( ${project.name}, ${mainClass.className}) "
59
59
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" ))
64
60
val runState = Tasks .runJVM(
65
61
state,
66
62
project,
67
63
env,
68
64
project.workspaceDirectory.getOrElse(project.baseDirectory),
69
65
mainClass.className,
70
66
mainClass.arguments.toArray,
71
- jvmOptions.toArray,
67
+ mainClass. jvmOptions.toArray,
72
68
mainClass.environmentVariables.getOrElse(Nil ),
73
69
RunMode .Debug
74
70
)
You can’t perform that action at this time.
0 commit comments