如何清除VS Code调试缓存?

时间:2018-02-18 01:25:27

标签: debugging caching visual-studio-code

当我从命令行运行我的server.js时,一切正常,但是当我从VS Code调试器运行它时,我得到了一个较旧的graphql类型的缓存版本。我假设这是一个缓存问题,有没有办法清除它?

这是我的launch.json,以防它有用:

{

  "version": "0.2.0",
  "configurations": [
    {
      "name": "Backend Debug",
      "type": "node",
      "request": "launch",
      "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/babel-node",
      "runtimeArgs": ["--nolazy"],
      "program": "${workspaceRoot}/server.js",
      "stopOnEntry": false,
      "env": {
        "NODE_ENV": "development"
      },
      "console": "internalConsole",
      "sourceMaps": true
    }
  ]
}

0 个答案:

没有答案