After installing on Visual Studio 2019 I get the following when trying to debug:

After clicking continue I get the following:

When I open tmp9AF7.tmp there is nothing in it.
Any ideas?
I tried following this: https://community.devsense.com/d/258-can-t-install-php-7-4-or-xdebug-via-web-package-installer
I placed the extracted folders here AppData\Local\Microsoft\Web Platform Installer\installers as well as here C:\Users\Rob Carroll\AppData\Local\Microsoft\Web Platform Installer but received the same issue.
I've tried uninstalling an reinstalling the PHP tools multiple times but no luck.
I went here to see if there were logs for the web platformer installer but nothing.
AppData\Local\Microsoft\Web Platform Installer\logs\install
AppData\Local\Microsoft\Web Platform Installer\logs\webpi