1. What is console. log ()?In addition to some older browsers, most browsers now have built-in debugging functions. Even if there is no debugging function, you can install plug-ins to supplement it. For example, in earlier versions of Firefox, there
In addition to Console. log (), more Javascript Debugging commands are provided,
The Console object provides access to the browser Console (for example, the Firefox Web Console ). Different browsers work in different ways, but here we will introduce
Console. Log (object [, object,...])Output a message on the console. If multiple parameters exist, the output parameters are separated by spaces.
The first parameter can be a string that contains the formatted placeholder output, for example:
You can use the F12 console command to receive error messages from Windows Internet Explorer 9 andCodeSend back your own message without interrupting the execution flow.
You can use the F12 tool console view inProgramRun the script statement
1. What is console?Console is a separate window used to display JS and DOM object information. And inject a console object to Js.You can output information to the console window. 2. What browsers support console?Many people may know that chrome and
1. What is console?Console is a separate window used to display JS and DOM object information. And inject a console object to Js.You can output information to the console window.2. What browsers support console?Many people may know that chrome and
The effect of the following figure
The PHP console is a chrome plug-in that can help users simulate the actual PHP Web environment and help users debug PHP code using the Chrome plugin, and after the user has installed the PHP console plugin in
I learned a trick today, that is, if it is in Firefox or chrome, you can send the warning, error, and other information in PHP,
Output to the firebug console in different categories.
First, there is a debug class as follows:
class PHPDebug
The console provides two main methods for developers to test web pages and applications:
Diagnose log information by using console APIs provided by the console, such as console. Log () and console. Profile ().
The instant response command window can
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.