Browse Source

Add Launch-file for vscode.

Jonatan Gezelius 3 năm trước cách đây
mục cha
commit
e3ff3e566b
1 tập tin đã thay đổi với 27 bổ sung0 xóa
  1. 27 0
      2020/.vscode/launch.json

+ 27 - 0
2020/.vscode/launch.json

@@ -0,0 +1,27 @@
+{
+    // 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": "Python: Real data",
+            "type": "python",
+            "request": "launch",
+            "program": "${file}",
+            "console": "integratedTerminal",
+            "justMyCode": true,
+            "cwd": "${fileDirname}",
+            "args":["infile.txt"],
+        },
+        {
+            "name": "Python: Example data",
+            "type": "python",
+            "request": "launch",
+            "program": "${file}",
+            "console": "integratedTerminal",
+            "justMyCode": true,
+            "cwd": "${fileDirname}"
+        }
+    ]
+}