White screen when running the build

Hi! I’m using GLFW to create a window in my game. It always works when i run the game by the visual studio debugger. But when i run it directly from the file I get white screen. It worked before but now it doesn’t for some reason. Link to the video showing what i mean: GLFW problem - YouTube