I think it would be very helpful for developing data functions if we could surface warnings without involving the debugging feature. Sometimes for instance there is a call to an API and that call may fail; one way of designing the code would be to return an empty table without failing, but showing a warning as to why it happened. Right now, only errors appear in the notifications.
There is perhaps some similarity with idea TS-I-8682, at least in spirit.