name: "multi-project-debugger"
description: "调试多个项目(FlinkDataSync、auth、JavaBackend、vue-frontend)。当用户要求调试多个项目或检查项目集成时调用。"
Multi-Project Debugger
Project Execution Guide
This skill helps debug the following projects simultaneously:
- FlinkDataSync
- com.lianda.auth (Authentication Service)
- JavaBackEnd (Main Backend Service)
- vue-frontend (Frontend Application)
Accurate Execution Commands
1. com.lianda.auth
Location: d:\Project\Java\拖轮项目AI重构\com.lianda.auth
Command: mvn spring-boot:run
Port: 8083
Context Path: /auth
Purpose: Authentication and authorization service
2. JavaBackend
Location: d:\Project\Java\拖轮项目AI重构\JavaBackend
Command: mvn spring-boot:run
Port: 8080
Context Path: /api
Purpose: Main backend service with business logic
3. vue-frontend
Location: d:\Project\Java\拖轮项目AI重构\vue-frontend
Command: npm run serve
Port: 8082
Purpose: Frontend user interface
4. FlinkDataSync
Location: d:\Project\Java\拖轮项目AI重构\FlinkDataSync
Build Command: mvn clean package -DskipTests
Run Command: java -cp target/flink-data-sync-1.0-SNAPSHOT.jar com.lianda.flink.sync.MySqlCdcSync
Purpose: Real-time data synchronization between databases using Flink CDC
When to Use
Invoke this skill when the user asks to debug multiple projects, troubleshoot integration issues, or needs to understand how these systems work together.
Project Overview
- FlinkDataSync: Handles data synchronization processes using Apache Flink and CDC technology
- com.lianda.auth: Authentication and authorization service running on port 8083 with context path /auth
- JavaBackEnd: Main business logic and API layer running on port 8080
- vue-frontend: User interface layer that communicates with backend services
Troubleshooting Tips
- If FlinkDataSync fails to start, ensure the build completes successfully first
- Check that all database connections are properly configured
- Verify that ports 8080, 8082, and 8083 are available
- For FlinkDataSync, ensure proper database credentials are configured in the application
- Monitor logs across all services to track inter-service communication