mirror of
https://github.com/9001/copyparty.git
synced 2025-09-28 12:42:26 -06:00
* make-sfx.sh: fix missing licenses on very first build * docker/make.sh: add warning on missing deps * pyinstaller: cleanup notes * add notes: * building on archlinux * buliding python 2.7 * support for Zed IDE
73 lines
2 KiB
JSON
73 lines
2 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Run copyparty",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"module": "copyparty",
|
|
"console": "integratedTerminal",
|
|
"cwd": "${workspaceFolder}",
|
|
"justMyCode": false,
|
|
"env": {
|
|
"PYDEVD_DISABLE_FILE_VALIDATION": "1",
|
|
"PYTHONWARNINGS": "always" //error
|
|
},
|
|
"args": [
|
|
//"-nw", // no-write; for testing uploads without writing to disk
|
|
//"-q", // quiet; speedboost when console output is not needed
|
|
|
|
// # increase debugger performance:
|
|
//"no-htp",
|
|
//"hash-mt=0",
|
|
//"mtag-mt=1",
|
|
//"th-mt=1",
|
|
|
|
// # listen for FTP and TFTP
|
|
"--ftp=3921",
|
|
"--ftp-pr=12000-12099",
|
|
"--tftp=3969",
|
|
|
|
// # listen on all IPv6, all IPv4, and unix-socket
|
|
"-i::,unix:777:a.sock",
|
|
|
|
// # misc
|
|
"--dedup",
|
|
"-e2dsa",
|
|
"-e2ts",
|
|
"--rss",
|
|
"--shr=/shr",
|
|
"--stats",
|
|
"-z",
|
|
|
|
// # users + volumes
|
|
"-aed:wark",
|
|
"-vdist:dist:r",
|
|
"-vsrv::r:rw,ed",
|
|
"-vsrv/junk:junk:r:A,ed",
|
|
"--ver"
|
|
]
|
|
},
|
|
{
|
|
"name": "Run active unit test",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"module": "unittest",
|
|
"console": "integratedTerminal",
|
|
"cwd": "${workspaceFolder}",
|
|
"args": [
|
|
"-v",
|
|
"${file}"
|
|
]
|
|
},
|
|
{
|
|
"name": "Python: Current File",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "${file}",
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false
|
|
}
|
|
]
|
|
}
|