Migrate all debug statement in main eliom file