Skip to content

Commit

Permalink
add instruction for debug WASM code
Browse files Browse the repository at this point in the history
Signed-off-by: Eugene Klimov <[email protected]>
  • Loading branch information
Slach committed Feb 10, 2025
1 parent 90f82ad commit 2e64066
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ docker compose up --no-deps -d grafana clickhouse
```
after that open http://localhost:3000/ to open grafana instance with one clickhouse datasource

#### Ability to debug WASM code

Install https://goo.gle/wasm-debugging-extension

Check in JS console in DevTools something like
```
[C/C++ DevTools Support (DWARF)] Loading debug symbols for wasm://wasm/main-006e733a...
[C/C++ DevTools Support (DWARF)] Loaded debug symbols for wasm://wasm/main-006e733a, found 213 source file(s)
```

#### Frontend Builder

The frontend builder is the docker container used to transpile the typescript source code into the javascript found in the `dist` dir. This will affect the grafana query and configuration functionality.
Expand Down

0 comments on commit 2e64066

Please sign in to comment.