Skip to content

Commit

Permalink
add more options
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Oct 16, 2023
1 parent e028f64 commit 4ec2de4
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"configurations": [
{
"name": "Run HiddifyPanel (apply config and run flask)",
"name": "Run HiddifyPanel and Server (apply config and run flask)",
"type": "python",
"request": "launch",
"module": "flask",
Expand All @@ -23,6 +23,40 @@
],
"jinja": true,
"justMyCode": true
},
{
"name": "Run HiddifyPanel Only (run flask only)",
"type": "python",
"request": "launch",
"module": "flask",
"cwd": "${workspaceFolder}/hiddify-panel/src/",
"env": {
"FLASK_APP": "wsgi.py",
"FLASK_DEBUG": "1",
"HIDDIFY_CFG_PATH": "/opt/hiddify-server/hiddify-panel/app.cfg",
},
"args": [
"run",
// "--no-debugger",
// "--no-reload",
"--host",
"0.0.0.0",
"--port",
"9000",
"--reload"
],
"jinja": true,
"justMyCode": true
},
{
"name": "Apply Config Only",
"type": "python",
"preLaunchTask": "build-hiddify-server",
"request": "launch",
"args": [
"-c",
"print('build complete')"
],
}
]
}

0 comments on commit 4ec2de4

Please sign in to comment.