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? 

1
15 comments

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

1

what is logged to debugger console when you debug a new HTML Boilerplate project? what does your project path look like?

0

I have no messages in the console as it's fails to load the resource

 

0

Please can you provide the following:

 

 

Note: please don't paste log files content here, put files on file server and provide a link

0

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

0

Please also attach a screenshot of Settings | Build, Execution, Deployment | Debugger page

0

Also, does your network traffic go via proxy? Do you have firewalls set up?

0

Yes, I'm behind corporate proxy without authentication 

0

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! 

0
Avatar
Permanently deleted user

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.

0

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

0
Avatar
Permanently deleted user

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.

0

>Do I still need to open a new thread or this is enough data? 

No. I still need a video

0
Avatar
Permanently deleted user

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.

0

Please sign in to leave a comment.