508f81ddce
Starts a local proxy that rewrites prod server responses, adding new plugins, serving local files, enabling or disabling assets bundles. Prerequisite: Docker Target platform: OS X Change-Id: I9abd94c816f987bf43e4335aff5be7ad17dd0fde
9 lines
250 B
Bash
Executable File
9 lines
250 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [[ "$OSTYPE" != "darwin"* ]]; then
|
|
echo Only works on OSX.
|
|
exit 1
|
|
fi
|
|
|
|
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --user-data-dir=${HOME}/devchrome --proxy-server="127.0.0.1:8888"
|