GeneratePac command: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{| | {| | ||
|width=" | |width="125px"| '''Action:''' | ||
|width=" | |width="775px"| | ||
<span class="f_ListBul1">Generates a PAC (Proxy Auto Config) JavaScript file from the Debugger configuration settings in </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para">. If this file is defined to the Internet Explorer browser, IE </span><span class="f_ListBul1">will use the Debugger Client as a proxy </span>''only''<span class="f_ListBul1"> for requests for the hosts (Onlines) [[Customize debuggerConfig file#Basic configuration steps |specified]] in </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para">. </span> | <span class="f_ListBul1">Generates a PAC (Proxy Auto Config) JavaScript file from the Debugger configuration settings in </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para">. If this file is defined to the Internet Explorer browser, IE </span><span class="f_ListBul1">will use the Debugger Client as a proxy </span>''only''<span class="f_ListBul1"> for requests for the hosts (Onlines) [[Customize debuggerConfig file#Basic configuration steps |specified]] in </span><span class="f_Monospace">debuggerConfig.xml</span><span class="f_Para">. </span> | ||
Latest revision as of 21:22, 30 January 2023
Action: |
Generates a PAC (Proxy Auto Config) JavaScript file from the Debugger configuration settings in debuggerConfig.xml. If this file is defined to the Internet Explorer browser, IE will use the Debugger Client as a proxy only for requests for the hosts (Onlines) specified in debuggerConfig.xml. The IE browser does this host filtering if the PAC file location is specified for it in the Address value in Tools > Internet options > Connections > LAN settings > Use automatic configuration script. By default, generatePac merges the code it generates with that of an existing PAC file (if such a file is already specified in the Internet Explorer configuration options). Syntax: generatePac [file [overwrite|nomerge]] Where file is the name of a file which, if not specified, defaults to debuggerInternalPac.js. The generated file is placed by default in the Client workfile folder. If no such work folder is configured, the Client installation folder is used. If you specify a file value:
If a file with the same name as file already exists, it will not be overwritten, unless you specify overwrite. If you use overwrite, the file value must be explicitly specified. Note: If your file specification contains an error (typo, incorrect file or path name, etc.), the Internet Explorer browser ignores the command and does not inform you of the error. When generatePac runs, it reports its activity in the Debugger Client console. For example: Command: generatePac foo.js overwrite The quoted host URLs above are copied from the debuggerConfig.xml file. The last of them (with no explicit port number appended) is generated when a port 80 specification is present in debuggerConfig.xml. See also the setIEMode command, which combines the generatePac functionality with automatic specification and removal of the PAC file in the IE configuration settings when the Client starts and closes. |
Client menu: | -- |
Introduced: | Build 62 |