XMLHttpRequest cannot load file. Origin null is not allowed by Access-Control-Allow-Origin

Yea yea, I've read the following:

https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest/Using_XMLHttpRequest

and I still can't figure out how to get my debug working.

I've tried to run an .html file by starting debug in webstorm, set to open in chrome.  The Webstorm file extension is on.

But I get the following when I try to debug in the Webstorm debug pane:


XMLHttpRequest cannot load file:///C:/..../FieldsTemplate.htm. Origin null is not allowed by Access-Control-Allow-Origin

what the heck do I do to get this worknig?  Also I don't understand why I get this when I try to run it via file rather than http://localhost/.... as the url.

Please sign in to leave a comment.