[1.5.2] Breakpoints not working in VSCode?

Hi, Im having a lot of issues with breakpoints on VSCode. I’m getting this error:

“Breakpoint ignored because generated code not found (source map problem?).”

I use the standard launch.json by Creator:

{
    "version": "1.4.0",
    "configurations": [
        {
            "name": "Creator Debug: Launch Chrome",
            "type": "chrome",
            "request": "launch",
            "url": "http://localhost:7456",
            "sourceMaps": true,
            "userDataDir": "${workspaceRoot}/.vscode/chrome",
            "diagnosticLogging": false,
            "sourceMapPathOverrides": {
                "assets/*": "${workspaceRoot}/assets/*"
            },
            "webRoot": "${workspaceRoot}"
        }
    ]
}

Anybody knows how to fix it?

Is it happening to any breakpoint or just at some code location?

Can you post more info such as how the source code and generated code looks?

It is not related to one piece of code. It happens with all my projects in OSX. But I found a workaround: i hit play to start debug and as soon as the game has loaded, i hit reload, and then all breakpoints work like charm. Even the new ones work well. But everytime I stop the debug and start again, I have to do the reaload thing to get the breakpoints work.

Not sure why, but we have updated VSCode debug configuration for v1.6.0-beta

Could you please try debugging with v1.6.0-beta and see if it’s still the case?

I will try it later this afternoon and let you know. Thanks!