Jest debug




    To run jest tests in Node.js from the command line, you can use the following:

    jest --inspect-brk ./node_modules/.

    Shortcut: debjest

    Filename pattern: *.json

      // Use IntelliSense to learn about possible attributes.
      // Hover to view descriptions of existing attributes.
      // For more information, visit:
      "version": "0.2.0",
      "configurations": [
          "name": "Debug Jest Tests",
          "type": "node",
          "request": "launch",
          "runtimeArgs": [
          "console": "integratedTerminal",
          "internalConsoleOptions": "neverOpen"
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.