# compiler: introduce incremental debug server · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/aeed5f9ebd02b376411f3ee82dd3222f9c3b6e85)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: aeed5f9ebd02b376411f3ee82dd3222f9c3b6e85

Requested commit: aeed5f9ebd02b376411f3ee82dd3222f9c3b6e85

Commit: aeed5f9ebd02b376411f3ee82dd3222f9c3b6e85

Tree: 94dbee0a2039f286612c069b965f0875783121ba

Author: mlugg

Committer: mlugg

## Message

```
compiler: introduce incremental debug server

In a compiler built with debug extensions, pass `--debug-incremental` to
spawn the "incremental debug server". This is a TCP server exposing a
REPL which allows querying a bunch of compiler state, some of which is
stored only when that flag is passed. Eventually, this will probably
move into `std.zig.Server`/`std.zig.Client`, but this is easier to work
with right now. The easiest way to interact with the server is `telnet`.

```

## Parents

- [35ba8d95a1afd0bebba3c32cf68990f5129fabfe](https://git.cafe/gitcafe/zig/commit/35ba8d95a1afd0bebba3c32cf68990f5129fabfe?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/aeed5f9ebd02b376411f3ee82dd3222f9c3b6e85?format=markdown)
