Skip to content

Instantly share code, notes, and snippets.

@Denys-Bushulyak
Created August 29, 2021 19:50
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Denys-Bushulyak/54b4cfbaeaa5a2d99e7fa28d4f0793a1 to your computer and use it in GitHub Desktop.
Save Denys-Bushulyak/54b4cfbaeaa5a2d99e7fa28d4f0793a1 to your computer and use it in GitHub Desktop.
Vimspector Jest debug configuration for @nrwl nx
{
"configurations": {
"run": {
"adapter": "vscode-node",
"configuration": {
"type": "node",
"request": "launch",
"name": "Jest Current File",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": [
"${fileBasenameNoExtension}",
"--config",
"${workspaceFolder}/jest.config.js"
],
"console": "integratedTerminal",
"cwd": "${workspaceFolder}"
}
}
}
}
@Denys-Bushulyak
Copy link
Author

Denys-Bushulyak commented Aug 29, 2021

Configured with pain and tears for the neovim (nvim) vimspector plugin. Happy debugging!

@Dimfred
Copy link

Dimfred commented Jul 9, 2023

Hero <3 Thank you, you saved me a lot of time.

@Denys-Bushulyak
Copy link
Author

Y'r welcome, @Dimfred. Thanks for feedback, it gives me motivation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment