Execute runProxy Manually on Windows

By default, the proxy component is automatically started when you start the agent. If you have configured the agent to manually launch the proxy, use the following command.
Before any traffic is run on the instrumented server, execute runProxy.cmd to start the proxy using the following syntax.
If you use the optional -d option, it must precede the -j option.
Usage: runProxy.cmd [-d <proxyDir>] -j <jreDir> [logDir] [commPort]

Options:
-d <proxyDir> the directory where the proxy is installed; optional, defaults to the directory containing the runProxy.cmd script
-j <jreDir> the directory where the JRE is installed; required
logDir the directory the proxy should log to; optional, defaults to <proxyDir>\logs
[commPort] port used for the proxy control channel on Windows; defaults to 10101; if specified it must match the proxyCommPort setting in the require statement
The following example assumes that the command is run from the root of the Node.js application instrumented by the agent.
.\node_modules\appdynamics\node_modules\appdynamics-proxy\proxy\runProxy.cmd
-j .\node_modules\appdynamics\node_modules\appdynamics-jre\jre /var/log/proxy
.\node_modules\appdynamics\node_modules\appdynamics-proxy\proxy\logs
10101