title: How to debug PhantomJS when running through Karma
body: <p>I test through Jasmine, Karma and a variety of browsers. I'm currently debugging a test that fails only in PhantomJS.</p>
  
  <p>I'd like to debug this call, so I've setup a custom PhantomJS launcher in karma that runs it with the debug port open.</p>
  
  <p>I'm able to access the remote debugger in Chrome through that port, however, it seems to know nothing about any of my test files. It reports an "about:blank" and a "localhost:9876" (the karma server that Phantom is hitting) but when I try to debug that location, it shows none of the source files or Jasmine spec files.</p>
  
  <p>Has anyone else seen this behavior? I've read the PhantomJS docs on the remote debugging feature and they don't shed any light on this issue, AFAIK.</p>