Igor Teterin
Igor Teterin

Reputation: 123

Is there way to run PHP in Visual Studio code, without debug config

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 ?

Upvotes: 0

Views: 1696

Answers (1)

Álvaro González
Álvaro González

Reputation: 146588

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.

Upvotes: 1

Related Questions