Open in Browser and Run/Debug returns 404
Hello there,
I noticed I no longer can preview in the browser a simple hml files. Also Debug and Run.
I'm constantly getting 404 like this. I even created a new HTML Boilerplate project and it's the same.
Can you advise what may be the reason for this please?
Please sign in to leave a comment.
Most probably the server is blocked by your proxy
Just to be on safe side, please try enabling Can accept external connection in Settings | Build, Execution, Deployment | Debugger - does it make any difference? Likely not, by might worth trying
what is logged to debugger console when you debug a new HTML Boilerplate project? what does your project path look like?
I have no messages in the console as it's fails to load the resource
Please can you provide the following:
Note: please don't paste log files content here, put files on file server and provide a link
Hello,
I think I described it very clear - creating a clean new project HTML5 Boilerplate with latest version under windows 7 without any custom build configs. Anyway - My preview does not working at all of my projects.
Here is the log file you requested - idea.log
Also on "Edit configurations" here is what I have - Edit Configurations
Please also attach a screenshot of Settings | Build, Execution, Deployment | Debugger page
Also, does your network traffic go via proxy? Do you have firewalls set up?
here we go:
idea2.jpg
idea3.jpg
idea4.jpg
Yes, I'm behind corporate proxy without authentication
Yes - that setting solved my problem. I don't have at home, which is definitely proxy issue.
Thank you for helping me with that here!
Hello,
I have the same problem. But I do not use a proxy. Instead, I have a python project that I debug in chrome browser. The application needs autentification. When I run my JavaScript debugger PyCharm opens a chrome window. It opens an error page because I have not authenticated. I point the browser to the login page and login. However, IDE does not stop on breakpoints. If I try to open the js files form the Scripts I get the error Cannot load 'http://localhost...': Request failed with status code 404. Any help is appreciated.
your issue is clearly different. What do you mean by pointing a browser to login page?
Please record your steps and start a new thread, providing a link to the recorded screencast
Thank you for the quick response.
My application is Odoo (ERP built in Python). My JavaScript page that I would like to debug is "http://localhost:8069/barcode/web/#action=stock.ui". But if I open a new browser window and go to the link I would be redirected to "http://localhost:8069/web/login". After login in I can go the link and debug in chrome. This somehow is not shared by the IDE. Looks like from the IDE I am still not logged in. Do I still need to open a new thread or this is enough data? Thank you.
>Do I still need to open a new thread or this is enough data?
No. I still need a video
Never mind. Once I started JavaScript debug Indeed to go to Scripts tab find my script, right click and select Specify Local Path. It works now.