buggregator / trap

Buggregator local debug server for PHP projects as composer package
https://buggregator.dev
BSD 3-Clause "New" or "Revised" License
102 stars 8 forks source link

Dumper: add string value from `Stringable::__toString()` to variable context #130

Open roxblnfk opened 1 week ago

roxblnfk commented 1 week ago

#[Pure] // phpstorm uses this to display toString value in debugger. Only Pure functions are evaluated

I think we can reuse this attribute for \Stringable variables.

Originally posted by @roxblnfk in https://github.com/buggregator/frontend/issues/93#issuecomment-2194288692