Debug Mode
This document describes the debug mode configuration capabilities for service stacks in Zerops, allowing developers to pause execution at specific points during build and runtime processes for debugging purposes.
Overview​
Debug mode introduces control over two distinct phases of deployment:
- Build phase - When the
buildCommands
are executed - Runtime prepare phase - When the
prepareCommands
are executed
For each phase, you can choose when to pause the execution:
- Disable - No pausing, execution proceeds normally
- Before first command - Execution stops before running any commands
- After last command - Execution stops after all commands complete
- On command fail - Execution stops when a command fails
Each phase can be configured with its own debug settings without affecting the other phase.
Important
The entire build process, including any time spent in debug mode, has a maximum duration of 60 minutes. After this time limit is reached, the build process is automatically cancelled.
Configuration​
The debug mode configuration can be found in your service detail under the Pipelines & CI/CD settings.
