

Remember: Visual Studio Code is not meant just for PHP or any other language for that matter, so the proper configuration file must be created. That is, you have Xdebug installed, you have the module specific in your PHP configuration file, but there’s no way to actually activate the debugger within the IDE.Īs always, it’s important to understand the problem first, right? The IDE needs a configuration file (in this case, a JSON file) to provide it the necessary instructions for the IDE on what to do whenever the ‘Debug’ button is clicked. One of the questions I’ve received (and seen elsewhere around the web) is how to actually setup Visual Studio Code debug configuration. In earlier posts, I’ve talked a bit about Visual Studio Code the least of which not being the importance of debugging your code with Xdebug.
