Modify variables during debug in Idea

I recently switched teams at work and now do backend development with Java Spring. I'm pretty newb at Java, so still learning the basic stuff. Today I learned that you can modify variables, or even object variables on runtime when debugging!

Just right-click the variable and choose 'Set value...'. Screenshot below.

Modify variables during runtime in Idea

#idea #java