JetBrains WebStorm debugger doesn't work since upgrading for 7.0.1 and 7.0.2

江枫思渺然 提交于 2019-12-25 01:44:56

问题


An angular project with this structure:

project name:
--/app folder
--/app/index.html

In directories/settings I set the project name as content source, and app folder as resource folder. The URL is set as: http://localhost:63342/app/index.html.

I have the chrome plugin installed but when I run the debugger I see "404 page not found" message.

If I set the url to http://localhost:63342/angular/index.html (with selecting the index.html file) I do get the page but without any resource, with this kind of errors (for example, images, templates and the rest).

Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:63342/img/home_page_1024.jpg
Failed to load resource: the server responded with a status of 404 (Not Found)

All of them should be under app folder but missing in the debug page (the regular page I run works fine.. )

I heard there is some "plugin configuration" to override CORS. But I'm not sure what another problem is that I need the app to run from local.mycompany.com instead of localhost (in my machine it's set up in the hosts file and works fine) but when I try to set the debugger url as http://local.mycompany.com:63342/angular/index.html I just get jetbrains 404 page.

来源:https://stackoverflow.com/questions/20727802/jetbrains-webstorm-debugger-doesnt-work-since-upgrading-for-7-0-1-and-7-0-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!