📜 ⬆️ ⬇️

Chrome Logger - server logs in chrome console



Chrome Logger is a Google Chrome extension for debugging a serverside application in a chrome console.

Most languages ​​include their own logging capabilities, but sometimes it is more convenient and easier to see the logs directly in the browser.
')
Instructions for use insider.

Using



Using Chrome Logger is very simple:

  1. Install the Chrome Logger extension for Google Chrome.
  2. Click on the extension icon to enable logs for the domain of the current tab.

  3. Install the server side library.
    following the installation instructions on the above pages

  4. Add logs
    # django example import chromelogger as console from django.http import HttpResponse def index(request): response = HttpResponse("Hello, world. You're at the poll index.") console.log('Hello console!') console.log(request.user) return response 


  5. Check out the console!




Well, a few links:
Offsite | Github

Source: https://habr.com/ru/post/177709/


All Articles