heiglandreas,
@heiglandreas@phpc.social avatar

2019 jetbrains publishes a howto to be able to step-debug twig templates. Yes! The user-edited ones. As well as the compiled-to-php ones.

Lucky me stumbled over it when I needed exactly that functionality right now!

Thought I'd share it: https://blog.jetbrains.com/phpstorm/2019/05/twig-and-blade-templates-debugging-2/

shochdoerfer,
@shochdoerfer@phpc.social avatar

@heiglandreas now I need to test this ;)

derickr,
@derickr@phpc.social avatar

@heiglandreas Interesting. I was this week figuring out how to do this (source/destination mapping) natively in Xdebug. Need to figure out how PhpStorm does this now too.

heiglandreas,
@heiglandreas@phpc.social avatar

@derickr @DadaProvider was already curious how that worked 😁 He'dfor sure not be uninterestedin your findings 😇

DadaProvider,

@heiglandreas @derickr step debugging > sliced bread

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • mdbf
  • InstantRegret
  • JUstTest
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • megavids
  • provamag3
  • tester
  • lostlight
  • All magazines