Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

Commit

Permalink
gitpod: Configure unittest debugging
Browse files Browse the repository at this point in the history
Signed-off-by: John Andersen <[email protected]>
  • Loading branch information
pdxjohnny committed Jun 9, 2021
1 parent 2832955 commit 874f2f6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

image:
file: scripts/gitpod.Dockerfile
tasks:
Expand All @@ -9,3 +10,7 @@ tasks:
dffml service dev install &&
echo -e '#!/bin/sh\nexec python3 -m black --check .' > .git/hooks/pre-commit &&
chmod 755 .git/hooks/pre-commit
vscode:
extensions:
- ms-python.python
18 changes: 18 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "DFFML unittests",
"type": "python",
"request": "launch",
"module": "unittest",
"args": ["discover", "-v"],
"env": {
"LOGGING": "DEBUG"
}
}
]
}

0 comments on commit 874f2f6

Please sign in to comment.