<commit_before>Skia Debugger
=============

The Skia Debugger consists of two components, the C++ command-line application
that ingests SKPs and analyzes them, and the HTML/CSS/JS front-end to the
debugger that is loaded off of https://debugger.skia.org. This directory
contains the code for debugger.skia.org.

See `DESIGN.md` for more details.
<commit_msg>debugger: Instructions for running locally.<commit_after>Skia Debugger
=============

The Skia Debugger consists of two components, the C++ command-line application
that ingests SKPs and analyzes them, and the HTML/CSS/JS front-end to the
debugger that is loaded off of https://debugger.skia.org. This directory
contains the code for debugger.skia.org.

See `DESIGN.md` for more details.


Running
=======

To run the server locally make sure you have Go installed and then run:

~~~~bash
go get go.skia.org/infra/debugger/...
cd $GOPATH/src/go.skia.org/infra/debugger
make run_server_local
~~~~

Make sure you have `$GOPATH/bin` added to your `PATH`.

This will spin up a local server on port 9000.

Make sure when you run the command-line debugger that it runs looking for
http://localhost:9000 and not https://debugger.skia.org.
{'fraction_non_alphanumeric': 0.10597140454163162, 'fraction_numerical': 0.00672834314550042, 'mean_word_length': 4.409090909090909, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7203970', 'n_tokens_mistral': 367, 'n_tokens_neox': 354, 'n_words': 151}