Initial commit: ILSHIN PLM 프로젝트 소스 코드
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Executable
+37
@@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Java 디버깅 환경 시작 스크립트
|
||||
echo "🐛 Starting PLM application in debug mode..."
|
||||
|
||||
# Java 경로 설정
|
||||
export PATH="/opt/homebrew/opt/openjdk@11/bin:$PATH"
|
||||
|
||||
# 기존 컨테이너 정리
|
||||
echo "🧹 Cleaning up existing containers..."
|
||||
docker-compose -f docker-compose.debug.yml down
|
||||
|
||||
# Java 컴파일
|
||||
echo "⚙️ Compiling Java files..."
|
||||
./build-mac.sh
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "❌ Build failed. Exiting."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 디버그 모드로 컨테이너 시작
|
||||
echo "🐳 Starting container in debug mode..."
|
||||
docker-compose -f docker-compose.debug.yml up --build -d
|
||||
|
||||
echo ""
|
||||
echo "✅ Debug environment started!"
|
||||
echo "🌐 Application: http://localhost:9090"
|
||||
echo "🐛 Debug port: 5005"
|
||||
echo ""
|
||||
echo "📋 To debug in Cursor IDE:"
|
||||
echo "1. Set breakpoints in your Java code"
|
||||
echo "2. Press F5 or go to Run & Debug panel"
|
||||
echo "3. Select 'Debug PLM Application (Remote - Docker)'"
|
||||
echo "4. Click the green play button"
|
||||
echo ""
|
||||
echo "💡 Tip: Use Cmd+Shift+D to open Debug panel"
|
||||
Reference in New Issue
Block a user