diff --git a/src/universal/bin/sbt.bat b/src/universal/bin/sbt.bat index 105c9e7b2..d4fb4dbf3 100755 --- a/src/universal/bin/sbt.bat +++ b/src/universal/bin/sbt.bat @@ -375,6 +375,9 @@ if defined _jvm_debug_arg ( rem next argument wasn't a port, set a default and process next arg set /A JVM_DEBUG_PORT=5005 goto args_loop + ) else ( + shift + goto args_loop ) ) )