File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55 "version" : " 0.2.0" ,
66 "configurations" : [
7+ {
8+ "name" : " Python Debugger: Remote Attach" ,
9+ "type" : " debugpy" ,
10+ "request" : " attach" ,
11+ "connect" : {
12+ "host" : " localhost" ,
13+ "port" : 5678
14+ },
15+ "pathMappings" : [
16+ {
17+ "localRoot" : " ${workspaceFolder}" ,
18+ "remoteRoot" : " /venv/lib/python3.13/site-packages/stdio_socket"
19+ }
20+ ]
21+ },
722 {
823 "name" : " Debug Unit Test" ,
924 "type" : " debugpy" ,
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ FROM python:${PYTHON_VERSION} AS developer
55
66# Add any system dependencies for the developer/build environment here
77RUN apt-get update && apt-get install -y --no-install-recommends \
8+ gdb \
89 graphviz \
910 && rm -rf /var/lib/apt/lists/*
1011
@@ -22,7 +23,13 @@ RUN touch dev-requirements.txt && pip install -c dev-requirements.txt .[demo]
2223
2324# The runtime stage copies the built venv into a slim runtime container
2425FROM python:${PYTHON_VERSION}-slim AS runtime
25- # Add apt-get system dependecies for runtime here if needed
26+
27+ # Add apt-get system dependecies for runtime
28+ RUN apt-get update && apt-get install -y --no-install-recommends \
29+ gdb \
30+ && rm -rf /var/lib/apt/lists/*
31+
32+
2633COPY --from=build /venv/ /venv/
2734ENV PATH=/venv/bin:$PATH
2835
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ classifiers = [
1414description = " An example simulation IOC for testing fastCS"
1515dependencies = [
1616 " fastcs" ,
17+ " debugpy" ,
1718] # Add project dependencies here, e.g. ["click", "numpy"]
1819dynamic = [" version" ]
1920license.file = " LICENSE"
You can’t perform that action at this time.
0 commit comments