MCPcopy Create free account
hub / github.com/PaperDebugger/paperdebugger / initializeAppOnly

Function initializeAppOnly

cmd/main.go:15–22  ·  view source on GitHub ↗

initializeAppOnly initializes the app without starting the server (for testing)

()

Source from the content-addressed store, hash-verified

13
14// initializeAppOnly initializes the app without starting the server (for testing)
15func initializeAppOnly() *api.Server {
16 log := logger.GetLogger()
17 app, err := internal.InitializeApp()
18 if err != nil {
19 log.Fatalf("[PAPERDEBUGGER] failed to initialize app: %v", err)
20 }
21 return app
22}

Callers 2

TestMain_SuccessFunction · 0.85
mainFunction · 0.85

Calls 2

GetLoggerFunction · 0.92
InitializeAppFunction · 0.92

Tested by 1

TestMain_SuccessFunction · 0.68