Running SyncApp in Debug Mode
Why This Matters
Bugs in SyncApp integration code can be subtle — wrong field mapping, incorrect data transformation, missing records. Debug mode with GoLand or VS Code lets you set breakpoints and inspect the exact data being transformed.
What You'll Learn
- How to run SyncApp in debug mode using GoLand's debugger
- How to set breakpoints in entity sync functions (e.g., patient sync)
- How to verify data verification status in WAM before your synced data becomes visible
- Reading SyncApp console logs to confirm sync cycles are running
- How the '76 invalid records' status in WAM is expected and what it means
Watch Video
Lesson Summary
Debug mode runs SyncApp with an attached debugger (GoLand or VS Code). Set breakpoints in the patient sync function, then run in debug mode. The debugger pauses execution at breakpoints, allowing inspection of the data being transformed. After completing a cycle, WAM shows your machine's hostname as the active SyncApp host. The location must be verified in WAM before patient data becomes visible in the Weave portal. SyncApp runs every 15 minutes — if you leave debug points active, the next cycle will also pause at them. VS Code and GoLand debug configurations are documented in the onboarding ticket.