User Tools

Site Tools


osa_debug

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

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: 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

osa_debug.txt · Last modified: 2024/04/11 14:23 by 127.0.0.1