# Logging variables in Chrome DevTools using logpoints

`logpoints` in Chrome DevTools allow you insert logging statements without adding breakpoints.

Right-click on the line you want to log:

![Screenshot 2022-05-24 at 9 19 45 PM](https://user-images.githubusercontent.com/4616064/170044768-23b8fc0e-7f97-4452-9089-0be65fd2a0c2.png)

Add the statement you would like to output to the console:

![Screenshot 2022-05-24 at 9 23 58 PM](https://user-images.githubusercontent.com/4616064/170045738-4ea2c14f-70b4-4e59-a907-f82487e610f6.png)

Everytime the code runs on this `logpoint`, it will output to the console:

![Screenshot 2022-05-24 at 9 27 54 PM](https://user-images.githubusercontent.com/4616064/170046595-7a2309f2-5733-49ec-9ba0-7e989c01eb6a.png)

This allows for quick console logging without having you to touch your source code and without having to add breakpoints.