Cicode Programming Reference > Editing and Debugging Code > Debugging Cicode > Using debug mode

Using debug mode

To switch to debug mode:

  1. Run the Cicode Editor.
  2. Choose Debug | Start Debugging, or click the Toggle Debug button.
  3. Note: If the current project is not running, CitectSCADA compiles and runs it automatically. The bug in the bottom right-hand corner is green when debugging.