()
| 26 | |
| 27 | class IcssDebugServer { |
| 28 | constructor() { |
| 29 | debugLog('🚀 Initializing iCSS Debug Server'); |
| 30 | |
| 31 | this.server = new Server( |
| 32 | { |
| 33 | name: 'icss-debug-server', |
| 34 | version: '1.0.0', |
| 35 | }, |
| 36 | { |
| 37 | capabilities: { |
| 38 | tools: {}, |
| 39 | }, |
| 40 | } |
| 41 | ); |
| 42 | |
| 43 | this.transport = null; |
| 44 | this.db = null; |
| 45 | this.searchEngine = null; |
| 46 | this.isReady = false; |
| 47 | this.dbInitFailed = false; |
| 48 | |
| 49 | this.setupDatabase(); |
| 50 | this.setupHandlers(); |
| 51 | } |
| 52 | |
| 53 | setupDatabase() { |
| 54 | debugLog('📂 Setting up database connection...'); |
nothing calls this directly
no test coverage detected