Localhost links wrongly trigger blank VSCode
21:38 27 Dec 2025

I am using AMPPS to execute PHP Mysql and Apache. recently I started using VS code in order to develop the PHP pages. But every time I open one of the links that my localhost PHP file has it also opens blank screen on VS code. It really bugs me off because I have to close that window every single link that clicked. I have already researched the on Regedit, Gemini, Copilot, etc whether there is any possibility to do not open the VS code when I am executing localhost web pages however I couldn't find the answer yet. In summary:

  1. the PHP file runs properly (on http://localhost/*.php)
  2. at the same time that one page runs, it opens a blank VSCode -- but it should not!

I really need to stop it! it is driving me nuts!

php visual-studio-code