11cb0ef41Sopenharmony_ci# TOOLS 21cb0ef41Sopenharmony_ci 31cb0ef41Sopenharmony_ciThis directory contains debugging and investigation tools for V8. 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_ciThe contents are regularly mirrored to <http://v8.dev/tools>. 61cb0ef41Sopenharmony_ci 71cb0ef41Sopenharmony_ci## Local Development 81cb0ef41Sopenharmony_ci 91cb0ef41Sopenharmony_ciFor local development you have to start a local webserver under <http://localhost:8000>: 101cb0ef41Sopenharmony_ci``` 111cb0ef41Sopenharmony_ci cd tools/; 121cb0ef41Sopenharmony_ci npm install; 131cb0ef41Sopenharmony_ci ws; 141cb0ef41Sopenharmony_ci``` 151cb0ef41Sopenharmony_ci 161cb0ef41Sopenharmony_ci## Local Symbol Server 171cb0ef41Sopenharmony_ci 181cb0ef41Sopenharmony_ciThe system-analyzer can symbolize profiles for local binaries by running a 191cb0ef41Sopenharmony_cilocal symbol server 201cb0ef41Sopenharmony_ci``` 211cb0ef41Sopenharmony_ci cd tools/; 221cb0ef41Sopenharmony_ci ws --stack system-analyzer/lws-middleware.js lws-static cors; 231cb0ef41Sopenharmony_ci``` 241cb0ef41Sopenharmony_ciNote that the local symbol server will run `nm` and `objdump` and has access to 251cb0ef41Sopenharmony_ciyour files.