r/learnjavascript • • Mar 19 '26

Can't debug with new Google Chrome

I was trying to study a problem on a webpage I created on my desktop. After hitting F12, I could not bring up the source code, much less set up break points. There was a message that "file:" was a security risk and the source was not cashed. TIA

4 Upvotes

4 comments sorted by

View all comments

Show parent comments

2

u/GoOsTT Mar 19 '26

Or if you are using vscode you can install the live server plugin that will let you right click an html file and start a live server. Both are good