Skip to content

Commit 217d598

Browse files
authored
Add debug instruction. (#3)
1 parent d873d2d commit 217d598

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

chime-sdk-signaling-cpp/README.md

+18
Original file line numberDiff line numberDiff line change
@@ -272,4 +272,22 @@ class MySignalingObserver: public SignalingClientObserver {
272272
}
273273
274274
signaling_client.Stop();
275+
```
276+
277+
## Debugging issues in C++ SDK signaling client
278+
279+
### Enable Address Sanitizer Support
280+
281+
#### Linux
282+
On the chime-sdk-signaling-cpp, run the following command
283+
284+
```
285+
cmake -S . -B build -DLWS_OPENSSL_LIBRARIES="<libssl-location>/libssl.a;<libcrypto-location>/libcrypto.a" -DLWS_OPENSSL_INCLUDE_DIRS=<ssl-header-location> -DCMAKE_TOOLCHAIN_FILE="./cmake/toolchains/LinuxClang.cmake" -DENABLE_ASAN=ON
286+
cmake --build build
287+
```
288+
289+
### Enable Debug logging
290+
You can enable debug logging by setting the log level to debug.
291+
```
292+
SetSignalingLogLevel("DEBUG");
275293
```

0 commit comments

Comments
 (0)