0

There are way to configure Visual Studio Code for debug, but need only to run PHP code.. and unnecessary for configure xDebug.

Is there way to run PHP from box ?

Igor Teterin
  • 123
  • 6

1 Answers1

1

I may be wrong but I believe that VSCode lacks the ability to run arbitrary commands out of the box. However, there's a third-party extension called Runner that implements this feature. It comes pre-configured for several script types, including PHP, so you just need to open the script and hit Ctrl+R.

If you need something more specific, such as configuring a list of named tasks, there're other extensions that do so.

Álvaro González
  • 142,137
  • 41
  • 261
  • 360