123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
- {
- // 使用 IntelliSense 了解相关属性。
- // 悬停以查看现有属性的描述。
- // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
- "version": "0.2.0",
- "configurations": [{
- "type": "node",
- "request": "launch",
- "name": "启动程序",
- "program": "${workspaceFolder}/super_service\\src\\main\\webapp\\scripts\\admin\\notice\\noticeAppPublish.js"
- },
- {
- "name": "Python",
- "type": "python",
- "request": "launch",
- "stopOnEntry": false, //是否在第一条语句时程序停止,下面的这个选项都一样
- "pythonPath": "C:/Users/HIAPAD/AppData/Local/Programs/Python/Python36/python", //可执行文件路径
- "program": "${file}",
- "cwd": "${workspaceRoot}",
- "env": {},
- "envFile": "${workspaceRoot}/.env",
- "debugOptions": [
- "WaitOnAbnormalExit",
- "WaitOnNormalExit",
- "RedirectOutput"
- ]
- },
- {
- "name": "PySpark",
- "type": "python",
- "request": "launch",
- "stopOnEntry": true,
- "osx": {
- "pythonPath": "${env:SPARK_HOME}/bin/spark-submit"
- },
- "windows": {
- "pythonPath": "${env:SPARK_HOME}/bin/spark-submit.cmd"
- },
- "linux": {
- "pythonPath": "${env:SPARK_HOME}/bin/spark-submit"
- },
- "program": "${file}",
- "cwd": "${workspaceRoot}",
- "env": {},
- "envFile": "${workspaceRoot}/.env",
- "debugOptions": [
- "WaitOnAbnormalExit",
- "WaitOnNormalExit",
- "RedirectOutput"
- ]
- },
- {
- "name": "Python Module",
- "type": "python",
- "request": "launch",
- "stopOnEntry": false,
- "pythonPath": "${config:python.pythonPath}",
- "module": "module.name",
- "cwd": "${workspaceRoot}",
- "env": {},
- "envFile": "${workspaceRoot}/.env",
- "debugOptions": [
- "WaitOnAbnormalExit",
- "WaitOnNormalExit",
- "RedirectOutput"
- ]
- },
- {
- "name": "Integrated Terminal/Console",
- "type": "python",
- "request": "launch",
- "stopOnEntry": false,
- "pythonPath": "${config:python.pythonPath}",
- "program": "${file}",
- "cwd": "",
- "console": "integratedTerminal",
- "env": {},
- "envFile": "${workspaceRoot}/.env",
- "debugOptions": [
- "WaitOnAbnormalExit",
- "WaitOnNormalExit"
- ]
- },
- {
- "name": "External Terminal/Console",
- "type": "python",
- "request": "launch",
- "stopOnEntry": false,
- "pythonPath": "${config:python.pythonPath}",
- "program": "${file}",
- "cwd": "",
- "console": "externalTerminal",
- "env": {},
- "envFile": "${workspaceRoot}/.env",
- "debugOptions": [
- "WaitOnAbnormalExit",
- "WaitOnNormalExit"
- ]
- },
- {
- "name": "Django",
- "type": "python",
- "request": "launch",
- "stopOnEntry": false,
- "pythonPath": "${config:python.pythonPath}",
- "program": "${workspaceRoot}/manage.py",
- "cwd": "${workspaceRoot}",
- "args": [
- "runserver",
- "--noreload",
- "--nothreading"
- ],
- "env": {},
- "envFile": "${workspaceRoot}/.env",
- "debugOptions": [
- "WaitOnAbnormalExit",
- "WaitOnNormalExit",
- "RedirectOutput",
- "DjangoDebugging"
- ]
- },
- {
- "name": "Flask",
- "type": "python",
- "request": "launch",
- "stopOnEntry": false,
- "pythonPath": "${config:python.pythonPath}",
- "program": "fully qualified path fo 'flask' executable. Generally located along with python interpreter",
- "cwd": "${workspaceRoot}",
- "env": {
- "FLASK_APP": "${workspaceRoot}/quickstart/app.py"
- },
- "args": [
- "run",
- "--no-debugger",
- "--no-reload"
- ],
- "envFile": "${workspaceRoot}/.env",
- "debugOptions": [
- "WaitOnAbnormalExit",
- "WaitOnNormalExit",
- "RedirectOutput"
- ]
- },
- {
- "name": "Flask (old)",
- "type": "python",
- "request": "launch",
- "stopOnEntry": false,
- "pythonPath": "${config:python.pythonPath}",
- "program": "${workspaceRoot}/run.py",
- "cwd": "${workspaceRoot}",
- "args": [],
- "env": {},
- "envFile": "${workspaceRoot}/.env",
- "debugOptions": [
- "WaitOnAbnormalExit",
- "WaitOnNormalExit",
- "RedirectOutput"
- ]
- },
- {
- "name": "Pyramid",
- "type": "python",
- "request": "launch",
- "stopOnEntry": true,
- "pythonPath": "${config:python.pythonPath}",
- "cwd": "${workspaceRoot}",
- "env": {},
- "envFile": "${workspaceRoot}/.env",
- "args": [
- "${workspaceRoot}/development.ini"
- ],
- "debugOptions": [
- "WaitOnAbnormalExit",
- "WaitOnNormalExit",
- "RedirectOutput",
- "Pyramid"
- ]
- },
- {
- "name": "Watson",
- "type": "python",
- "request": "launch",
- "stopOnEntry": true,
- "pythonPath": "${config:python.pythonPath}",
- "program": "${workspaceRoot}/console.py",
- "cwd": "${workspaceRoot}",
- "args": [
- "dev",
- "runserver",
- "--noreload=True"
- ],
- "env": {},
- "envFile": "${workspaceRoot}/.env",
- "debugOptions": [
- "WaitOnAbnormalExit",
- "WaitOnNormalExit",
- "RedirectOutput"
- ]
- },
- {
- "name": "Attach (Remote Debug)",
- "type": "python",
- "request": "attach",
- "localRoot": "${workspaceRoot}",
- "remoteRoot": "${workspaceRoot}",
- "port": 3000,
- "secret": "my_secret",
- "host": "localhost"
- }
- ]
- }
|