Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Thiago Braga
    @thiagobraga

    Hi,
    I'm not able to debug JavaScript with the extension "Debugger for Chrome", maybe due to Source Maps problems.
    In "Breakpoints" box, I see the message Breakpoint ignored because generated code not found (source map problem?).
    Here is my launch.json config:

    "webRoot": "${workspaceFolder}",
    "sourceMaps": true,
    "sourceMapPathOverrides": {
      "/./*": "${workspaceFolder}/*",
      "/js/*": "${workspaceFolder}/js/*",
      "/new/*": "${workspaceFolder}/new/*",
    }

    My development URL is served from HTTPS, but I don't think that's the problem. And .scripts command in Debug Console apparently does not return errors:

    ...
    › chrome-extension://ipdjnhgkpapgippgcgkfcbpdpcgifncb/jquery.js
    › https://local.juridmais.com.br/new/js/jurid-web.js (/Projetos/jurid-web/jurid-web/new/js/jurid-web.js)
        - jquery-2.1.1.min.js (/Projetos/jurid-web/jurid-web/new/js/jquery-2.1.1.min.js)
        - jquery.ui.min.js (/Projetos/jurid-web/jurid-web/new/js/jquery.ui.min.js)
        - bootstrap.min.js (/Projetos/jurid-web/jurid-web/new/js/bootstrap.min.js)
        - jquery.dateFormat.js (/Projetos/jurid-web/jurid-web/new/js/jquery.dateFormat.js)
        - jquery.mark.min.js (/Projetos/jurid-web/jurid-web/new/js/jquery.mark.min.js)
        - perfect-scrollbar.jquery.min.js (/Projetos/jurid-web/jurid-web/new/js/perfect-scrollbar.jquery.min.js)
        - juridmais.js (/Projetos/jurid-web/jurid-web/new/js/juridmais.js)
       ...

    Can anybody help me? I used to work normally with Debugger for Chrome and Source Maps, but I didn't debug anything a few weeks ago.

    MattHubbell
    @MattHubbell
    Hi, i recently updated npm and now my VS code debugger launch to Chrome stopped working . I am getting an error message:
    debugger_error.jpg

    My launch.json is basic:

    {
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
    {
    "type": "chrome",
    "request": "launch",
    "name": "Launch Chrome against localhost",
    "url": "http://localhost:4200",
    "webRoot": "${workspaceFolder}"
    }
    ]
    }

    Theresia Sofia Snow
    @theresiasnow
    exactly the same problem. Chrome debugger stopped working... Same settings
    Theresia Sofia Snow
    @theresiasnow
    anyone?
    Theresia Sofia Snow
    @theresiasnow
    found it! proxy.conf.json - https is now needed..
    Theresia Sofia Snow
    @theresiasnow
    got the april update of VS code, now back to not working..
    Zach Whitesel
    @Calidus
    I have into a weird issue, where an Angular App won't load when using chrome-debug, but it will load in a "normal" chrome window as well as firefox-debugging. Any suggestions?
    I have run into*
    Zach Whitesel
    @Calidus
    If anyone else runs into the issue, mine was do to corporate management of Chrome. Other Chromium based browsers(Edge Beta, Opera, Brave) worked fine.
    Eric Chen
    @Airkro
    how can I get url from dynamic in launch.json?
    Ed Dickins
    @edickins
    hello. sometimes when debugging (with source folder added to workspace in Chrome devtools) every single .js file loads in devtools when I start a debugging session. Most of the time they don't but when they do they load up as they are used in the app. I can't think of any steps to replicate other than starting a new vs-chrome-debug session - and like I say it doesn't always happen. Sorry I don't have better info but I thought you might want to know.
    Nick Gallimore
    @nfgallimore
    I have the same launch settings as @MattHubbell and am getting the same error. Has there been any fix for this? https://files.gitter.im/Microsoft/vscode-chrome-debug/6rf0/debugger_error.jpg
    Carlos Lopez
    @clshortfuse
    @nfgallimore are you, by chance, using WSLv2? If you are, that could be related.
    Nick Gallimore
    @nfgallimore
    @clshortfuse No sir
    Nick Gallimore
    @nfgallimore
    Any updates on this issue?
    Zach Whitesel
    @Calidus
    Anyone run into performance issues with the Edge Beta? I am seeing a 5-10 second lag between event triggered in Edge and breakpoint in VSCode?
    Nick Gallimore
    @nfgallimore
    What does this have to do with Chrome?
    Are you debugging in Edge?
    Zach Whitesel
    @Calidus
    yes
    New edge is chromium
    Nick Gallimore
    @nfgallimore
    Huh interesting, cool.
    Zach Whitesel
    @Calidus
    the extension mostly just works
    Nick Gallimore
    @nfgallimore
    I can't get it to work at all for me now and have been waiting for a fix forever lol
    Zach Whitesel
    @Calidus
    need to use the Beta version
    Nick Gallimore
    @nfgallimore
    Where do you get that? Are you building it from the repo?
    Nick Gallimore
    @nfgallimore
    It randomly started working again
    Andrea D'Amore
    @anddam
    hello
    is it possible to clear the debug console when the browser refresh? I am running an angular development server that reloads when it detects changes, I'd like to start with a fresh debug console each time
    Nick Gallimore
    @nfgallimore
    It should clear already no?
    Shawn Roberts
    @ShawnRoberts37_twitter
    Hey
    luposung
    @luposung
    Hi. Anyone using serverReadyAction with "action": "debugWithChrome"? The debugging Chrome is not closed as stop debug. Is it possible to close Chrome at same time as debug stops?
    Alpha Khan
    @AlphaKhan_twitter
    HELP: using VSCODE to debug a javascript file on OSX -- when i run the debugger chrome fires up for localhost:8080 but cant connect --- How to fix
    engrbugs
    @engrbugs
    @AlphaKhan_twitter same here... it resulted in Chrome "Inspectable Pages" instead of our index.html (Hello world web) How to fix? Should we need to install Nginx?
    mansortner
    @mansortner
    Anyone having problems with debugger hanging on async calls when you set a breakpoint on it?
    Shawn Roberts
    @ShawnRoberts37_twitter
    Wtf
    Srđan Međo
    @PerpetualWar
    Hello everyone
    I would need help setting up chrome debugger in attach mode
          "type": "chrome",
          "request": "attach",
          "port": 9222,
          "name": "Attach to Chrome",
          "url": "http://localhost:3001",
          "webRoot": "${workspaceFolder}"
        }
    this is my config but it times out
    any ideas what am I not setting up corretly ?
    chrome is started in remote debug mode with that port
    baselhoje94
    @baselhoje94
    !!
    stmudie
    @stmudie
    Hello. Not sure if this is the right place to ask - but .scripts isn't working for me.
    .scripts
    Uncaught SyntaxError: Unexpected token '.'
    I know it has worked in the past. I'm using it in the Debug Console after I have launched a debug.
    Other JS commands work fine.
    image.png
    stmudie
    @stmudie
    Turns out I had the preview js debugger. Removing that fixed this.