Add auto sync to console

please add auto sync between console and editor, it will be much more helpful