VScode not showing errors in real time

Is there any way to set VScode in a way that it shows errors in real time? So far I can only see them after compiling.

I’m running VScode with WSL and I have C/C++ themes installed.

I already made sure that C_Cpp: Error Squiggles is enabled.

Here is the content of my “c_cpp_properties.json” file:

{
"configurations": [
    {
        "name": "Linux",
        "includePath": [
            "${workspaceFolder}/**"
        ],
        "defines": [],
        "compilerPath": "/usr/bin/gcc",
        "cStandard": "c17",
        "cppStandard": "gnu++17",
        "intelliSenseMode": "linux-gcc-x64"
    }
],
"version": 4
}