beyondcode / invoker-community

74 stars 2 forks source link

dd() does not work, dump() does #287

Closed twdnhfr closed 1 year ago

twdnhfr commented 2 years ago

Hey,

currently I'm using Invoker but the same issue is happening with Tinkerwell itself. When I write and execute any Code via the Tinkewell Plugin or Tinkerwell itself the dd() function does not work. To be more precise, any code containing a dd() will not execute.

This will execute and print the texts:

dump("before");
dump("after");

Nothing is printed with this:

dump("before");
dd("test");
dump("after");

OS: darwin Invoker Version: 2.9.0 Laravel Version: 8.83.9 Local project: true PHP Binary: /opt/homebrew/bin/php (8.1.4)


Bildschirmfoto 2022-04-21 um 14 48 51

Bildschirmfoto 2022-04-21 um 14 48 40

mpociot commented 1 year ago

This is a limitation of the Tinkerwell plugin - you might want to check out Tinkerwell v3 (which also adds autocomplete) for this.