tongue-gssz-debug.bat 589 B

1234567891011121314151617181920212223242526272829
  1. @echo off
  2. setlocal
  3. REM Run emoon-tongue with JDWP debug port 5005 (Windows)
  4. REM Then attach from IntelliJ IDEA using "Remote JVM Debug" (Host: localhost, Port: 5005)
  5. set "ROOT=%~dp0..\.."
  6. set "JAR=%ROOT%\emoon-tongue\target\emoon-tongue-5.4.1.jar"
  7. if not exist "%JAR%" (
  8. echo [ERROR] Jar not found: "%JAR%"
  9. echo Please build first:
  10. echo mvn -pl emoon-tongue -am clean package -DskipTests
  11. exit /b 1
  12. )
  13. echo [INFO] Starting (debug 5005): %JAR%
  14. java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -jar "%JAR%" --spring.profiles.active=gssz
  15. endlocal