|
385 | 385 | "console": "integratedTerminal", |
386 | 386 | "env": {}, |
387 | 387 | "envFile": "^\"\\${workspaceFolder}/.env\"", |
388 | | - "debugOptions": [] |
| 388 | + "debugOptions": [], |
| 389 | + "internalConsoleOptions": "neverOpen" |
389 | 390 | } |
390 | 391 | }, |
391 | 392 | { |
|
402 | 403 | "console": "externalTerminal", |
403 | 404 | "env": {}, |
404 | 405 | "envFile": "^\"\\${workspaceFolder}/.env\"", |
405 | | - "debugOptions": [] |
| 406 | + "debugOptions": [], |
| 407 | + "internalConsoleOptions": "neverOpen" |
406 | 408 | } |
407 | 409 | }, |
408 | 410 | { |
|
740 | 742 | "console": "integratedTerminal", |
741 | 743 | "env": {}, |
742 | 744 | "envFile": "${workspaceFolder}/.env", |
743 | | - "debugOptions": [] |
| 745 | + "debugOptions": [], |
| 746 | + "internalConsoleOptions": "neverOpen" |
744 | 747 | }, |
745 | 748 | { |
746 | 749 | "name": "Python: Terminal (external)", |
|
753 | 756 | "console": "externalTerminal", |
754 | 757 | "env": {}, |
755 | 758 | "envFile": "${workspaceFolder}/.env", |
756 | | - "debugOptions": [] |
| 759 | + "debugOptions": [], |
| 760 | + "internalConsoleOptions": "neverOpen" |
757 | 761 | }, |
758 | 762 | { |
759 | 763 | "name": "Python: Django", |
|
884 | 888 | ] |
885 | 889 | } |
886 | 890 | ] |
| 891 | + }, |
| 892 | + { |
| 893 | + "type": "pythonExperimental", |
| 894 | + "label": "Python Experimental", |
| 895 | + "languages": [ |
| 896 | + "python" |
| 897 | + ], |
| 898 | + "enableBreakpointsFor": { |
| 899 | + "languageIds": [ |
| 900 | + "python", |
| 901 | + "html" |
| 902 | + ] |
| 903 | + }, |
| 904 | + "aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217", |
| 905 | + "program": "./out/client/debugger/mainV2.js", |
| 906 | + "runtime": "node", |
| 907 | + "configurationSnippets": [ |
| 908 | + { |
| 909 | + "label": "Python Experimental: Terminal (integrated)", |
| 910 | + "description": "%python.snippet.launch.terminal.description%", |
| 911 | + "body": { |
| 912 | + "name": "Integrated Terminal/Console", |
| 913 | + "type": "pythonExperimental", |
| 914 | + "request": "launch", |
| 915 | + "stopOnEntry": true, |
| 916 | + "pythonPath": "^\"\\${config:python.pythonPath}\"", |
| 917 | + "program": "^\"\\${file}\"", |
| 918 | + "cwd": "", |
| 919 | + "console": "integratedTerminal", |
| 920 | + "env": {}, |
| 921 | + "envFile": "^\"\\${workspaceFolder}/.env\"", |
| 922 | + "debugOptions": [], |
| 923 | + "internalConsoleOptions": "neverOpen" |
| 924 | + } |
| 925 | + }, |
| 926 | + { |
| 927 | + "label": "Python Experimental: Terminal (external)", |
| 928 | + "description": "%python.snippet.launch.externalTerminal.description%", |
| 929 | + "body": { |
| 930 | + "name": "External Terminal/Console", |
| 931 | + "type": "pythonExperimental", |
| 932 | + "request": "launch", |
| 933 | + "stopOnEntry": true, |
| 934 | + "pythonPath": "^\"\\${config:python.pythonPath}\"", |
| 935 | + "program": "^\"\\${file}\"", |
| 936 | + "cwd": "", |
| 937 | + "console": "externalTerminal", |
| 938 | + "env": {}, |
| 939 | + "envFile": "^\"\\${workspaceFolder}/.env\"", |
| 940 | + "debugOptions": [], |
| 941 | + "internalConsoleOptions": "neverOpen" |
| 942 | + } |
| 943 | + } |
| 944 | + ], |
| 945 | + "configurationAttributes": { |
| 946 | + "launch": { |
| 947 | + "properties": { |
| 948 | + "program": { |
| 949 | + "type": "string", |
| 950 | + "description": "Absolute path to the program.", |
| 951 | + "default": "${file}" |
| 952 | + }, |
| 953 | + "pythonPath": { |
| 954 | + "type": "string", |
| 955 | + "description": "Path (fully qualified) to python executable. Defaults to the value in settings.json", |
| 956 | + "default": "${config:python.pythonPath}" |
| 957 | + }, |
| 958 | + "args": { |
| 959 | + "type": "array", |
| 960 | + "description": "Command line arguments passed to the program", |
| 961 | + "default": [], |
| 962 | + "items": { |
| 963 | + "type": "string" |
| 964 | + } |
| 965 | + }, |
| 966 | + "stopOnEntry": { |
| 967 | + "type": "boolean", |
| 968 | + "description": "Automatically stop after launch.", |
| 969 | + "default": false |
| 970 | + }, |
| 971 | + "console": { |
| 972 | + "enum": [ |
| 973 | + "integratedTerminal", |
| 974 | + "externalTerminal" |
| 975 | + ], |
| 976 | + "description": "Where to launch the debug target: internal console, integrated terminal, or external terminal.", |
| 977 | + "default": "integratedTerminal" |
| 978 | + }, |
| 979 | + "cwd": { |
| 980 | + "type": "string", |
| 981 | + "description": "Absolute path to the working directory of the program being debugged. Default is the root directory of the file (leave empty).", |
| 982 | + "default": "" |
| 983 | + }, |
| 984 | + "debugOptions": { |
| 985 | + "type": "array", |
| 986 | + "description": "Advanced options, view read me for further details.", |
| 987 | + "items": { |
| 988 | + "type": "string", |
| 989 | + "enum": [ |
| 990 | + "Sudo" |
| 991 | + ] |
| 992 | + }, |
| 993 | + "default": [] |
| 994 | + }, |
| 995 | + "env": { |
| 996 | + "type": "object", |
| 997 | + "description": "Environment variables defined as a key value pair. Property ends up being the Environment Variable and the value of the property ends up being the value of the Env Variable.", |
| 998 | + "default": {} |
| 999 | + }, |
| 1000 | + "envFile": { |
| 1001 | + "type": "string", |
| 1002 | + "description": "Absolute path to a file containing environment variable definitions.", |
| 1003 | + "default": "" |
| 1004 | + }, |
| 1005 | + "port": { |
| 1006 | + "type": "number", |
| 1007 | + "description": "Debug port (default is 0, resulting in the use of a dynamic port).", |
| 1008 | + "default": 0 |
| 1009 | + }, |
| 1010 | + "host": { |
| 1011 | + "type": "string", |
| 1012 | + "description": "IP address of the of the local debug server (default is localhost).", |
| 1013 | + "default": "localhost" |
| 1014 | + } |
| 1015 | + } |
| 1016 | + } |
| 1017 | + }, |
| 1018 | + "initialConfigurations": [ |
| 1019 | + { |
| 1020 | + "name": "Python Experimental: Current File (Integrated Terminal)", |
| 1021 | + "type": "pythonExperimental", |
| 1022 | + "request": "launch", |
| 1023 | + "pythonPath": "${config:python.pythonPath}", |
| 1024 | + "program": "${file}", |
| 1025 | + "cwd": "", |
| 1026 | + "console": "integratedTerminal", |
| 1027 | + "env": {}, |
| 1028 | + "envFile": "${workspaceFolder}/.env", |
| 1029 | + "debugOptions": [], |
| 1030 | + "internalConsoleOptions": "neverOpen" |
| 1031 | + }, |
| 1032 | + { |
| 1033 | + "name": "Python Experimental: Current File (External Terminal)", |
| 1034 | + "type": "pythonExperimental", |
| 1035 | + "request": "launch", |
| 1036 | + "pythonPath": "${config:python.pythonPath}", |
| 1037 | + "program": "${file}", |
| 1038 | + "cwd": "", |
| 1039 | + "console": "externalTerminal", |
| 1040 | + "env": {}, |
| 1041 | + "envFile": "${workspaceFolder}/.env", |
| 1042 | + "debugOptions": [], |
| 1043 | + "internalConsoleOptions": "neverOpen" |
| 1044 | + } |
| 1045 | + ] |
887 | 1046 | } |
888 | 1047 | ], |
889 | 1048 | "configuration": { |
|
1663 | 1822 | "typescript-formatter": "^6.0.0", |
1664 | 1823 | "vscode": "^1.1.5", |
1665 | 1824 | "vscode-debugadapter-testsupport": "^1.25.0" |
| 1825 | + }, |
| 1826 | + "__metadata": { |
| 1827 | + "id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5", |
| 1828 | + "publisherDisplayName": "Microsoft", |
| 1829 | + "publisherId": "998b010b-e2af-44a5-a6cd-0b5fd3b9b6f8" |
1666 | 1830 | } |
1667 | 1831 | } |
0 commit comments