Most likely, you are not opening the file itself, but a directory with several files. You need to go to the html file and then open the developer console.