You can test your Proxy Auto-Configuration (PAC) file by using the Online proxy PAC file tester available at the following link: https://thorsen.pm/proxyforurl.
Enter the proxy details and select Find rule to determine the rules in your PAC file. Use the results provided to further debug any issues with the PAC file.
For information about how to configure a PAC file, refer to the Configuring Proxy Auto-Configuration (PAC) file section.