Adding the debug flag to see if it fixes debugging in IntelliJ