Environment configuration

Hello all!

I am a beginner with regards to Grav so forgive me if this is a silly question.

I am interesting in taking advantage of the environment configuration feature whereby you can have alternate configs for local server & production.

I have configured my local host to serve my sites to various local domains such as example.dev. When I do this though it does not honour the alternate localhost config file.

Is there a way to tell grav that example.dev is a local environment and example.com (my actual live domain) is production? Or is there some other solution to my problem?

Thanks in advance
Steve

Turn on the debugger, it will show you what the current configuration is in the messages tab:

https://dl.dropboxusercontent.com/s/nzaryieepzc24qt/2016-11-08%20at%202.30%20PM.png