diff --git a/.gitignore b/.gitignore index 988f7b8..4ebf856 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ d2/book1/books *.egg-info *.whl *.tar.gz -.vscode +.vscode/* +!.vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..5388e87 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,49 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + /* + { + "name": "Python Debugger: Module", + "type": "debugpy", + "request": "launch", + "module": "online_fxreader.vpn.vpn", + }, + { + "name": "Python Debugger: Current File with Arguments", + "type": "debugpy", + "request": "launch", + "program": "${file}", + "console": "integratedTerminal", + "args": [ + "${command:pickArgs}" + ] + }, + */ + { + "name": "Python Debugger: Remote Attach", + "type": "debugpy", + "request": "attach", + "connect": { + "host": "127.0.0.1", + "port": 4444 + }, + "pathMappings": [ + /* + { + "localRoot": "${workspaceFolder}/deps/com.github.aiortc.aiortc/src/", + //"remoteRoot": "." + "remoteRoot": "~/.local/bin/env3/lib/python3.12/site-packages/", + }, + { + "localRoot": "${workspaceFolder}/deps/com.github.aiortc.aiortc/", + //"remoteRoot": "." + "remoteRoot": "~/.local/bin/env3/lib/python3.12/site-packages/", + } + */ + ] + } + ] +} \ No newline at end of file