Skip to content

Commit

Permalink
[add] shell mode
Browse files Browse the repository at this point in the history
[add] resources type choice
[modify] code refactoring
  • Loading branch information
findix committed Jan 31, 2019
1 parent faa8c13 commit f6e8a65
Show file tree
Hide file tree
Showing 11 changed files with 381 additions and 348 deletions.
110 changes: 18 additions & 92 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,119 +1,45 @@
{
// 使用 IntelliSense 了解相关属性。
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"name": "Python: Current File",
"name": "Python: ArtStationDownloader",
"type": "python",
"request": "launch",
"program": "${file}",
"pythonPath": "${config:python.pythonPath}",
"envFile": "${workspaceRoot}/.env",
},
{
"name": "Python: Attach",
"type": "python",
"request": "attach",
"localRoot": "${workspaceFolder}",
"remoteRoot": "${workspaceFolder}",
"port": 3000,
"secret": "my_secret",
"host": "localhost"
},
{
"name": "Python: Terminal (integrated)",
"type": "python",
"request": "launch",
"program": "${file}",
"program": "${workspaceFolder}/src/ArtStationDownloader.py",
"console": "integratedTerminal"
},
{
"name": "Python: Terminal (external)",
"name": "Python: ArtStationDownload in Terminal",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "externalTerminal"
},
{
"name": "Python: Django",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/manage.py",
"program": "${workspaceFolder}/src/ArtStationDownloader.py",
"args": [
"runserver",
"--noreload",
"--nothreading"
"-u",
"ase",
"ikaired",
"-d",
"D:\\Users\\Sean\\Desktop\\ArtStation",
"-t",
"all"
],
"debugOptions": [
"RedirectOutput",
"Django"
]
},
{
"name": "Python: Flask (0.11.x or later)",
"type": "python",
"request": "launch",
"module": "flask",
"env": {
"FLASK_APP": "${workspaceFolder}/app.py"
},
"args": [
"run",
"--no-debugger",
"--no-reload"
]
},
{
"name": "Python: Module",
"type": "python",
"request": "launch",
"module": "module.name"
},
{
"name": "Python: Pyramid",
"type": "python",
"request": "launch",
"args": [
"${workspaceFolder}/development.ini"
],
"debugOptions": [
"RedirectOutput",
"Pyramid"
]
"console": "integratedTerminal"
},
{
"name": "Python: Watson",
"name": "Python: Current File (Integrated Terminal)",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/console.py",
"args": [
"dev",
"runserver",
"--noreload=True"
]
"program": "${file}",
"console": "integratedTerminal"
},
{
"name": "Python: All debug Options",
"name": "Python: Current File (External Terminal)",
"type": "python",
"request": "launch",
"pythonPath": "${config:python.pythonPath}",
"program": "${file}",
"module": "module.name",
"env": {
"VAR1": "1",
"VAR2": "2"
},
"envFile": "${workspaceFolder}/.env",
"args": [
"arg1",
"arg2"
],
"debugOptions": [
"RedirectOutput"
]
"console": "externalTerminal"
}
]
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"python.pythonPath": "${workspaceFolder}\\.env\\Scripts\\python.exe"
"python.pythonPath": ".env\\Scripts\\python.exe",
"python.linting.pylintEnabled": true
}
245 changes: 0 additions & 245 deletions ArtStationDownloader.py

This file was deleted.

Loading

0 comments on commit f6e8a65

Please sign in to comment.