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