XAMPP VM and text editors
As the documentation suggests, you need to locate and edit the file: /opt/lampp/etc/extra/httpd-xampp.conf

The hard part for me was locating this file. The solution I found was to ensure the stack volume was mounted:



From there, you can click the explore button, which will open /opt/lampp/. You can then navigate to etc/extra/httpd-xampp.conf from the Finder window that is opened and edit with any editor you want.

Alternatively, once the drive is mounted, you should be able to access the volume through Finder:



Hopefully, this helps.