Skip to content

Commit

Permalink
added app_dev_vscode.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Skov Madsen authored and Marc Skov Madsen committed Nov 9, 2019
1 parent e23f441 commit 339bcc3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .vscode/launch.json
Expand Up @@ -17,6 +17,7 @@
"request": "attach",
"port": 5678,
"host": "localhost",
"redirectOutput": true,
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
Expand Down
9 changes: 9 additions & 0 deletions app_dev_vscode.py
@@ -0,0 +1,9 @@
"""Use this module for development with VS Code and the integrated debugger"""
import ptvsd

import app

ptvsd.enable_attach(address=("localhost", 5678))
ptvsd.wait_for_attach()

app.main()

0 comments on commit 339bcc3

Please sign in to comment.