I get it that it is ‘hard’ to do in the studio as what to exclude, what about libraries etc.

So let’s make the request really simple
[ ] auto close read-only source when opened by debugger on step-out

The pkg is always read-only and for libraries the developer can make their own choices