Skip to content

Commit

Permalink
Add debugs option
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Apr 27, 2017
1 parent d858e5f commit 32595a4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion demo/jline-gogo.bat
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ set opts=
if "%1" == "jansi" goto :EXECUTE_JANSI
if "%1" == "jna" goto :EXECUTE_JNA
if "%1" == "debug" goto :EXECUTE_DEBUG
goto :EXECUTE
if "%1" == "debugs" goto :EXECUTE_DEBUGS
goto :EXECUTE

:EXECUTE_JANSI
set cp=%cp%;%TARGETDIR%/lib/jansi-%JANSI_VERSION%.jar
Expand All @@ -81,6 +82,11 @@ set opts=
shift
goto :RUN_LOOP

:EXECUTE_DEBUGS
set opts=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
shift
goto :RUN_LOOP

:EXECUTE
rem Launch gogo shell
echo "Classpath: %cp%"
Expand Down

0 comments on commit 32595a4

Please sign in to comment.