DAP Scope interface defines presentationHint for the purposes of distinguishing standard scope (locals, globals etc). Visual Studio uses this to determine whether the scope is locals or not, to inline locals into the top level. However, pydevd does not set presentationHint for any of the scopes - only the label.