Skip to content

Commit 6a7851e

Browse files
committed
Add make cmd for pytest with pdb support
1 parent 27a416b commit 6a7851e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ logs: ## Print and actively tail the docker compose logs.
3333
pytest: ## Run pytest (Backend)
3434
@docker-compose exec web pytest -p no:ethereum
3535

36+
pytest-pdb: ## Run pytest with pdb support (Backend)
37+
@docker-compose exec web pytest -p no:ethereum --pdb --pdbcls=IPython.terminal.debugger:Pdb
38+
3639
stylelint: ## Run stylelint against the project directory. Requires node, npm, and project dependencies.
3740
@npm run stylelint
3841

0 commit comments

Comments
 (0)