Skip to content

how to Magento 2 code debug in remote server with Visual Studio?

I would like to increase my development productivity. Is it possible to add breakpoints in Magento 2 server files in Visual Studio? Because there is a plugin called XDEBUG in VS code. I installed it but I do not know how to connect and debug my Magento 2 instance ?
Any guide? or just possible in PHPStorm?