You can add a console.log()
to each of your theme and custom scripts. This will print a string in the browser developer console. Start with the bare minimum and work your way up.
It is advisable you only use the console.log()
on development platforms.
Example:
console.log('this is from script001');
Related Posts:
- Google PageSpeed Enable Compression isn’t working?
- Google Page Speed
- WP script versioning breaks cross-site caching?
- Cloudflare’s Rocket Loader + WordPress -> Ignore scripts?
- W3 Total Cache: Load CSS asynchronously for better PageSpeed score? [closed]
- How can I leverage browser cache for minified JS or minified CS files?
- W3TotalCache and Javascript — what should go where, when?
- Can’t change javascript files
- Disable PAGESPEED SCRIPT INJECTION to IMAGE in theme files [closed]
- What does “javascript:void(0)” mean?
- For-each over an array in JavaScript
- How can I remove a specific item from an array?
- require is not defined? Node.js
- What is NODE_ENV and how to use it in Express?
- Loop inside React JSX
- Encode URL in JavaScript?
- JavaScript null check
- JavaScript “Uncaught TypeError: object is not a function” associativity question
- Module not found can’t resolve
- How can I get file extensions with JavaScript?
- How to detect Safari, Chrome, IE, Firefox and Opera browser?
- What does on() in JavaScript do?
- AngularJS : Factory and Service?
- What’s the difference between console.dir and console.log?
- Use images like checkboxes
- Uncaught TypeError: Cannot read property ‘msie’ of undefined
- How to hide a div with jQuery?v
- How do I pass variables and data from PHP to JavaScript?
- How do I set/unset a cookie with jQuery?
- Calling onclick on a radiobutton list using javascript
- How to properly export an ES6 class in Node 4?
- Uncaught Typeerror: cannot read property ‘innerHTML’ of null
- Sorting HTML table with JavaScript
- Relation between CommonJS, AMD and RequireJS?
- How to loop through an array containing objects and access their properties
- Counting the occurrences / frequency of array elements
- how to download file in react js
- TypeError: $(…).DataTable is not a function
- Trying to use fetch and pass in mode: no-cors
- Moment.js transform to date object
- jQuery explode string like PHP
- Call Javascript function from URL/address bar
- Anagrams finder in javascript
- Validate date in dd/mm/yyyy format using JQuery Validate
- How to subtract days from a plain Date?
- Stopping a JavaScript function when a certain condition is met
- Showing an image from an array of images – Javascript
- Javascript isnull
- How to filter JSON Data in JavaScript or jQuery?
- What’s the best way to reload / refresh an iframe?
- How do I check if a cookie exists?
- Get querystring from URL using jQuery [duplicate]
- Check if string contains only digits
- JS: iterating over result of getElementsByClassName using Array.forEach
- jQuery checkbox change and click event
- Error: listen EACCES 0.0.0.0:80 OSx Node.js
- jQuery selectors on custom data attributes using HTML5
- How to check if a value is not null and not empty string in JS
- How do I refresh a DIV content?
- TypeError: abc.getAttribute is not a function
- jquery to validate phone number
- Closing Bootstrap modal onclick
- window.location() not working, not opening page
- How to clear the canvas for redrawing
- What’s a Good Javascript Time Picker?
- JavaScript event window.onload not triggered
- Default text on input
- JSX not allowed in files with extension ‘ .js’ with eslint-config-airbnb
- How to use wordpress default Password Strength Meter script
- Pass custom fields values to Google Maps
- Documentation for IDE’s
- What is “open()” in MediaUpload?
- update_option in javascript
- What’s the handle for media.js?
- How can I add Block Style support to the core HTML block in Gutenberg?
- How to add comment on scripts using function in wordpress?
- Jquery function working in Chrome Console but not in the code [closed]
- Gutenberg: Block validation Failed Richtext undefined
- Add custom HTML markup to Gutenberg RichText
- Multiple media uploader buttons target only one input on the same page
- Weird issue with slider on javascript
- Proper way to enqueue a generated script that isn’t in a .js file?
- Why isn’t wp_enqueue_script(‘jquery-masonry’) working?
- Adjusting jquery for WordPress
- Enqueue scripts based on browser width?
- Javascript code doesn’t work in my wordpress theme
- Gutenberg dependencies in package.json
- Minifing js files with w3 total cache and expiring the combined file [closed]
- onclick not working since move from HTML to WP
- wp post_tag change minlength
- Link to Lightbox Image-Group from Menu?
- Issue migrating a checkbox-type meta field to the block editor
- WordPress Block.js SVG createElement
- Adding a class to the active tab [closed]
- check if Url contains special character like #
- How to make async query in wordpress?
- LayersWP Customizer White Blank Screen
- PHP or JS for header image rotator?
- W3 Total Cache and IIS7 not doing much [closed]
- Replacing & in JS code on pages