Skip to content

Instantly share code, notes, and snippets.

@antonpegov
Last active June 9, 2021 13:04
Show Gist options
  • Select an option

  • Save antonpegov/024afecfc0c79bd010c9f515e97e82c1 to your computer and use it in GitHub Desktop.

Select an option

Save antonpegov/024afecfc0c79bd010c9f515e97e82c1 to your computer and use it in GitHub Desktop.

Revisions

  1. Anton Pegov revised this gist Jun 9, 2021. 1 changed file with 12 additions and 1 deletion.
    13 changes: 12 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -13,6 +13,17 @@
    "internalConsoleOptions": "neverOpen",
    "env": { "CI": "true" },
    "disableOptimisticBPs": true
    }
    },
    {
    "name": "Debug opened file",
    "type": "node",
    "request": "launch",
    "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/react-scripts",
    "args": ["test", "${fileBasenameNoExtension}", "--runInBand", "--no-cache", "--watchAll"],
    "cwd": "${workspaceRoot}",
    "protocol": "inspector",
    "console": "integratedTerminal",
    "internalConsoleOptions": "neverOpen"
    },
    ]
    }
  2. Anton Pegov created this gist May 24, 2021.
    18 changes: 18 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    {
    "version": "0.2.0",
    "configurations": [
    {
    "name": "Debug CRA Tests",
    "type": "node",
    "request": "launch",
    "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/react-scripts",
    "args": ["test", "--runInBand", "--no-cache", "--watchAll=false"],
    "cwd": "${workspaceRoot}",
    "protocol": "inspector",
    "console": "integratedTerminal",
    "internalConsoleOptions": "neverOpen",
    "env": { "CI": "true" },
    "disableOptimisticBPs": true
    }
    ]
    }