I noticed that in Visual Studio Code there is a menu item called "Start Without Debugging" under the "Debug" menu. When I have a PHP file open, I expected this to run the PHP file through the PHP executable and give me the output. Instead, when I click on "Start Without Debugging", the User Settings page shows up. Why does the User Settings page show up? It's not clear why this page is presented to me. Does it want me to configure something? How do I get it to just run the PHP file that I have open through the PHP executable. Is this even possible?
I noticed in the Default Settings there is a property called "php.validate.executablePath" that is set to null. I tried overriding this setting in my User Settings by pointing it to the path of my PHP executable like this:
{
"php.validate.executablePath": "/usr/bin/php"
}
But that didn't solve anything. The User Settings page still shows up when I click "Start Without Debugging".
launch.jsonfile?launchobject in my User Settings withruntimeExecutablepointing to my PHP executable. After I did that, it executed the PHP file when I pressed Ctrl+F5 and displayed the output in the debug panel.