Debugger wont start if dot env is missing


#1

Easy fix I think, happens if you delete the .env and try to open the debugger.

Uncaught (in promise) Error: document .env not found
    at ot-client.coffee:370

Great debugger! Thanks Glitch.


#2

“Closing this”, since the FAQ https://glitch.com/faq#debugger states that you’ll need to use process.env.PORT to make it work, which also means you need to have a dot env file in your project.


#3

Well, actually PORT is set by us at the project level, you don’t need to specify it in .env.

So thanks for posting this! We will fix the issue, in the meantime we might update the FAQ!