Debug php slim proyect create with composer and skeleton with vscode and xDebug

Hi all,

I’m stuck as trying to debug a simple slim proyect created with this command:

composer create-project slim/slim-skeleton simpleAPI

I’m using vscode: 1.16.2, composer: 2.1.9, php: 8.0.11, slim: 4.7 OS: windows 10

For php i’m using XAMPP, but im running app with “composer start” in cmd nowadays.

Thank you!

Hi @Leitor I wrote a blog post about this topic. There is also an additional section for Visual Studio Code.

XAMPP - XDebug Setup for PHP 8