The AL developer preview is still evolving with frequent updates. Follow us on the Dynamics NAV Team Blog for the announcements.
DEBUGGEDSESSIONID Method (Debugger)
Gets the ID of the previous session that the debugger was attached to.
SessionID := DEBUGGEDSESSIONID
Property Value/Return Value
The session ID of the session that the debugger was previously attached to.