====== OSA Debug ====== How to test your changes on the OSA page, this will help anyone that is coding a functionality to be used directly on OSA ==== Browser is your friend ==== This is know to front-end developers, but the debugging tool to your projects is the browser When you press F12, you open the developer tools. To find the OSA calls: * Go to the Network Tab and reload the page to monitor the calls * Filter by: * Fetch/XHR * Doc * Manifest With this, you find the pages/calls/data that is transitioning on the project. This will help you to * Know with PHP page is been called to look at the OSA-PHP code * Sometimes, you can look the inputs on the developer tools {{/dokuwiki/lib/exe/fetch.php?w=1000&tok=8776ef&media=screenshot_from_2022-05-13_13-57-38.png?1000}} ==== OSA Benchmark is your friend too ==== If the browser doesn't show the input, you can find the input in the OSA Benchmark, you need to filter to find the OSA call on it: {{/dokuwiki/lib/exe/fetch.php?w=1000&tok=58d6ee&media=screenshot_from_2022-05-13_14-00-25.png?1000}} With the input, you can go on the OSA source code and find out why the input is this way or why the OSA isn't working properly **This is not perfect, but it helps to find the problems faster**