old_contents: from flask_script import Manager
  from flask_migrate import Migrate, MigrateCommand
  
  from {{cookiecutter.app_name}}.app import create_app
  from {{cookiecutter.app_name}}.extensions import db
  
  app = create_app()
  
  manager = Manager(app)
  migrate = Migrate(app, db)
  
  manager.add_command('db', MigrateCommand)
  
  
  @manager.command
  def run():
      app.run()
  
  
  if __name__ == "__main__":
      manager.run()
  
new_contents: from flask_script import Manager
  from flask_migrate import Migrate, MigrateCommand
  
  from {{cookiecutter.app_name}}.app import create_app
  from {{cookiecutter.app_name}}.extensions import db
  
  app = create_app()
  
  manager = Manager(app)
  migrate = Migrate(app, db)
  
  manager.add_command('db', MigrateCommand)
  
  
  @manager.command
  def run():
      app.run(debug=True)
  
  
  if __name__ == "__main__":
      manager.run()
  
subject: set debug flag to application run method