diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000000..3a7e4f7267 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,6 @@ +{ + "recommendations": [ + "ms-vscode-remote.remote-containers", + "ms-vscode-remote.remote-ssh", + ], +} diff --git a/core/.vscode/extensions.json b/core/.vscode/extensions.json new file mode 100755 index 0000000000..596ef561f5 --- /dev/null +++ b/core/.vscode/extensions.json @@ -0,0 +1,6 @@ +{ + "recommendations": [ + "ms-python.python", + "ms-python.debugpy" + ] +} diff --git a/core/.vscode/launch.json b/core/.vscode/launch.json new file mode 100644 index 0000000000..c032008ebd --- /dev/null +++ b/core/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + "configurations": [ + { + // Use this to debug python code in the remote container + // Requires the "Remote development" extensions to be installed + // as well as the Python debugger extension in the container + "name": "Python Debugger in Remote Container: Current File", + "type": "debugpy", + "request": "launch", + "program": "${file}", + "console": "integratedTerminal", + "python": "/usr/blueos/venv/bin/python3" + } + ] +} \ No newline at end of file diff --git a/core/Dockerfile b/core/Dockerfile index f098cf7f4c..bb3f2cffd9 100644 --- a/core/Dockerfile +++ b/core/Dockerfile @@ -106,6 +106,8 @@ COPY configuration/motd /etc/motd COPY start-blueos-core /usr/bin/start-blueos-core COPY run-service.sh /usr/bin/run-service +COPY ./.vscode /home/pi/.vscode + # Copy binaries and necessary folders from download-binaries to this stage COPY --from=download-binaries \ /usr/bin/blueos_startup_update.py \