A `DEBUGGER` flag in the game source that causes the evaluation to pause. It works like the debugger keyword in JavaScript.

Note: the game needs to run in debug mode (`node --inspect-brk path/to/puzzlescript.js` or `npm run play-debug`) for this flag to have any effect.

This string can be added to:

- A Rule. Example: `DEBUGGER [ > player | cat ] -> [ > player | > cat ]`
- A bracket when the condition is updated: `[ > player | cat ] DEBUGGER -> [ > player | > cat ]`
- A bracket when it is evaluated: `[ > player | cat ] -> [ > player | > cat ] DEBUGGER`
- A neighbor when the condition is updated: `[ > player DEBUGGER | cat ] -> [ > player | > cat ]`
- A neighbor when it is evaluated: `[ > player | cat ] -> [ > player | > cat DEBUGGER ]`
- A tile when the condition is updated: `[ > player | DEBUGGER cat ] -> [ > player | > cat ]`
- A tile when it is matched: `[ > player | cat ] -> [ > player | DEBUGGER > cat ]`

## Index

### Enumeration members

- BREAKPOINT
- BREAKPOINT_REMOVE

## Enumeration members

### BREAKPOINT

BREAKPOINT: = "DEBUGGER"

- Defined in util.ts:168

### BREAKPOINT_REMOVE

BREAKPOINT_REMOVE: = "DEBUGGER_REMOVE"

- Defined in util.ts:172

Pause when a Cell causes an entry to be removed from the set of matches for this rule/bracket/neighbor/tile

Generated using TypeDoc