From 32bc319f18331b63f64e2ad1482e42c3ff57a672 Mon Sep 17 00:00:00 2001 From: Evgeny Smyshlyaev Date: Mon, 8 Apr 2019 19:56:00 +0300 Subject: [PATCH] add debug conf and pip package (#539) --- analytics/.vscode/launch.json | 13 +++++++++++++ analytics/requirements.txt | 1 + 2 files changed, 14 insertions(+) diff --git a/analytics/.vscode/launch.json b/analytics/.vscode/launch.json index fe70138..f83525b 100644 --- a/analytics/.vscode/launch.json +++ b/analytics/.vscode/launch.json @@ -4,6 +4,19 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + { + "name": "Attach (Remote Debug)", + "type": "python", + "request": "attach", + "port": 5679, + "host": "localhost", + "pathMappings": [ + { + "localRoot": "${workspaceFolder}", + "remoteRoot": "/var/www/analytics" + } + ] + }, { "name": "Python: Current File", "type": "python", diff --git a/analytics/requirements.txt b/analytics/requirements.txt index 44c7ad8..7788be4 100644 --- a/analytics/requirements.txt +++ b/analytics/requirements.txt @@ -16,3 +16,4 @@ scipy==1.1.0 seglearn==0.1.6 six==1.11.0 tsfresh==0.11.0 +ptvsd==4.2.6