# getLatestDebuggerEvents Source: https://www.nianticspatial.com/docs/api/swift/NSDK.NSDKVps2Session.method-getLatestDebuggerEvents/ getLatestDebuggerEvents --- ## Declaration func getLatestDebuggerEvents() -> [Nsdk_Vps_VpsDebuggerDataEvent] #### Summary Gets VPS debugger events since the last call to this method. Native debugger logs are drained once per frame in update() and published on debuggerEvents. This method returns (and clears) the in-memory buffer of those same events accumulated since the previous call -- it does not call into native again. Prefer debuggerEvents for reactive use. ---