The AL developer preview is still evolving with frequent updates. Follow us on the Dynamics NAV Team Blog for the announcements.
ISATTACHED Method (Debugger)
Specifies if the debugger is attached to a session.
Ok := ISATTACHED
Property Value/Return Value
True if the debugger is attached to a session; otherwise, false.