Questions tagged [chromelogger]

Chrome Logger is a Google Chrome extension for debugging server side applications in the Chrome console.

Most languages include their own logging capabilities, but sometimes it is easier to see your logs right in the browser.

Chrome Logger used to be known as ChromePHP.

Currently supported server side libraries include:

For more information: http://www.chromelogger.com/

10 questions
8
votes
1 answer

How can I get setHeader to overwrite an existing header?

I'm working on a CF interface to the ChromeLogger extension (shameless plug), which uses HTTP headers to log data from a server side language to the Chrome console. Over the course of a request, the log() method can be called multiple times. For…
Sean Walsh
  • 8,266
  • 3
  • 30
  • 38
2
votes
1 answer

Response header disappears with Angular

I'm trying to get Chrome Logger working in an Angular app running against a PHP backend, but for some reason the X-ChromeLogger-Data header doesn't seem to be coming through when the API is accessed by the Angular app. If I open the API's access…
Schlaus
  • 18,144
  • 10
  • 36
  • 64
2
votes
1 answer

Log from inside php functions using ChromeLogger and ChromePHP

I'm making a foray into php (wordpress) and have set up ChromeLogger (http://craig.is/writing/chrome-logger) and ChromePHP (https://github.com/ccampbell/chromephp). I can now log ok from my templates, but i'd really like to be able to log to the…
Max Williams
  • 32,435
  • 31
  • 130
  • 197
1
vote
3 answers

How to use firefox developer tools to log server side messages from PHP

I am trying to switch firefox developer tools for server side debugging because firebug is no longer working with firePHP. Checked the documentation I found this information: Firebug extensions like FirePHP allow to log server-side messages to …
Zortext
  • 566
  • 8
  • 21
1
vote
2 answers

chrome logger - how to get console output

I installed chrome extension - chrome logger. download and include ChromePhp.php in my php page. write: ChromePhp::log('Hello console!'); console.log('Hello console!'); nothing happpend - console is empty. what is wrong or missing ?
qadenza
  • 9,025
  • 18
  • 73
  • 126
1
vote
1 answer

Warning: Cannot modify header information - headers already sent when using ChromePhp.php

I wish to peek into my PHP code to see what is going on to help me rectify some issues. The PHP code is for processing the data from a form. I have tried Chrome Logger http://craig.is/writing/chrome-logger but I can't get it to send me any…
user1558796
  • 293
  • 4
  • 19
0
votes
2 answers

How can I access Chrome Devtools Network Logs data in NodeJS script?

I'm currently trying to build a project that requires me to read data from a website (OpenSea marketplace). When I go to the page, it sends a POST request to an API (in pic 1), I want to access the data it returns (in pic 2) in my NodeJS/TypeScript…
0
votes
1 answer

Cannot trigger ChromeLogger Handler in Codeigniter4

I am new to php and its framework. I have followed the official guide line about how to add the ChromeLogger in Logger.php. I have also added the chrome extension for Chrome Logger. How do I see any logging information on my…
Long Ranger
  • 5,888
  • 8
  • 43
  • 72
0
votes
1 answer

How can I see ChromeLogger output in the Postman console when debugging an API?

I have set up ChromeLogger, the browser extension and the backend library, which works fine. However I am developing an API which I test in Postman not in the browser so I want to see the same debug logs in Postman in the console or somewhere in…
scipilot
  • 6,681
  • 1
  • 46
  • 65
-1
votes
1 answer

PHP Mysqli. Need to fetch data from table

This is my code. I execute then nothing happen. Pls check my code $id = trim(htmlentities($_REQUEST['id'],ENT_QUOTES)); //call the action from previous page //fetch data $stmt = $dbi->prepare("SELECT a.telco, a.no_siri, a.no_topup, a.amount,…
Ikram Syakir
  • 37
  • 1
  • 7