Skip to content

Commit

Permalink
Enable Chrome '--disable-web-security' flag.
Browse files Browse the repository at this point in the history
This allows users to inspect network requests in Chrome by commenting
the xhr polyfill in InitializeJavaScriptAppEngine.js:
  facebook#934 (comment)
  • Loading branch information
elliottsj committed Aug 22, 2015
1 parent 18f6b91 commit 2ef54fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packager/packager.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ function getDevToolsLauncher(options) {
}
launch(debuggerURL, {
browser: 'chrome',
options: ['--disable-web-security'],
}, function(err, instance) {
if (err) {
console.error('Failed to launch chrome', err);
Expand Down

0 comments on commit 2ef54fe

Please sign in to comment.