I have a twig file open but I don't have a splitview to see the compiles PHP
The Tools->Options->Text Editor->Twig "Show Splitview" is set to Show
What am I missing?

[Update]
I uninstalled Composer, deleted the composer.xxx files and the vendor folder, Relaunched VS2022 and opened the twig file in my project and now I do get the split scree, the HTML page is blank but the PHP page is populated. Why is the HTML page blank? Also, I can set breakpoints in the twig file but not the PHP but the breakpoint is never hit.

    AlanWeir Thank you for the question,

    I think you need to re-open the file in Visual Studio.

    As for the breakpoints in twig files - this will be most probably not supported. Twig files are translated to generated .php file which is the actual file being interpreted by PHP/Xdebug.

    We'll note this as a possible future enhancement.

      Write a Reply...