[{"data":1,"prerenderedAt":1376},["ShallowReactive",2],{"navigation_docs_en":3,"-en-developer-workflows-ide-debugging":225,"-en-developer-workflows-ide-debugging-surround":1371},[4,25,41,66,85,140,167,181,195],{"title":5,"path":6,"stem":7,"children":8,"icon":10},"Quickstart","\u002Fen\u002Fquickstart","en\u002F1.quickstart\u002F1.index",[9,11,16,20],{"title":5,"path":6,"stem":7,"icon":10},"i-lucide-rocket",{"title":12,"path":13,"stem":14,"icon":15},"Installation","\u002Fen\u002Fquickstart\u002Finstallation","en\u002F1.quickstart\u002F2.installation","i-lucide-download",{"title":17,"path":18,"stem":19,"icon":10},"First Bridge","\u002Fen\u002Fquickstart\u002Ffirst-bridge","en\u002F1.quickstart\u002F3.first-bridge",{"title":21,"path":22,"stem":23,"icon":24},"Docker Desktop Extension","\u002Fen\u002Fquickstart\u002Fdocker-desktop-extension","en\u002F1.quickstart\u002F4.docker-desktop-extension","i-simple-icons-docker",{"title":26,"path":27,"stem":28,"children":29,"page":40},"Ai Agents","\u002Fen\u002Fai-agents","en\u002F2.ai-agents",[30,35],{"title":31,"path":32,"stem":33,"icon":34},"Cluster Ground Truth","\u002Fen\u002Fai-agents\u002Fcluster-ground-truth","en\u002F2.ai-agents\u002F1.cluster-ground-truth","i-lucide-bot",{"title":36,"path":37,"stem":38,"icon":39},"Agent Workflows","\u002Fen\u002Fai-agents\u002Fagent-workflows","en\u002F2.ai-agents\u002F2.agent-workflows","i-lucide-workflow",false,{"title":42,"path":43,"stem":44,"children":45,"page":40},"Developer Workflows","\u002Fen\u002Fdeveloper-workflows","en\u002F3.developer-workflows",[46,51,56,61],{"title":47,"path":48,"stem":49,"icon":50},"Hot Reloading","\u002Fen\u002Fdeveloper-workflows\u002Fhot-reloading","en\u002F3.developer-workflows\u002F1.hot-reloading","i-lucide-zap",{"title":52,"path":53,"stem":54,"icon":55},"IDE Debugging","\u002Fen\u002Fdeveloper-workflows\u002Fide-debugging","en\u002F3.developer-workflows\u002F2.ide-debugging","i-lucide-bug",{"title":57,"path":58,"stem":59,"icon":60},"Run vs. Bridge","\u002Fen\u002Fdeveloper-workflows\u002Fbridge-vs-run","en\u002F3.developer-workflows\u002F3.bridge-vs-run","i-lucide-git-compare-arrows",{"title":62,"path":63,"stem":64,"icon":65},"Database and DNS","\u002Fen\u002Fdeveloper-workflows\u002Fdatabase-and-dns","en\u002F3.developer-workflows\u002F4.database-and-dns","i-lucide-database",{"title":67,"path":68,"stem":69,"children":70,"page":40},"Team And Enterprise","\u002Fen\u002Fteam-and-enterprise","en\u002F4.team-and-enterprise",[71,75,80],{"title":72,"path":73,"stem":74,"icon":10},"Getting Started","\u002Fen\u002Fteam-and-enterprise\u002Fshared-staging-clusters","en\u002F4.team-and-enterprise\u002F1.shared-staging-clusters",{"title":76,"path":77,"stem":78,"icon":79},"Managing Gefyra Clients","\u002Fen\u002Fteam-and-enterprise\u002Frbac-and-security","en\u002F4.team-and-enterprise\u002F2.rbac-and-security","i-lucide-computer",{"title":81,"path":82,"stem":83,"icon":84},"CI Cost Reduction","\u002Fen\u002Fteam-and-enterprise\u002Fci-cost-reduction","en\u002F4.team-and-enterprise\u002F3.ci-cost-reduction","i-lucide-trending-down",{"title":86,"path":87,"stem":88,"children":89,"page":40},"Cluster Guides","\u002Fen\u002Fcluster-guides","en\u002F5.cluster-guides",[90,116,121],{"title":91,"path":92,"stem":93,"children":94,"page":40},"Local Clusters","\u002Fen\u002Fcluster-guides\u002Flocal-clusters","en\u002F5.cluster-guides\u002F1.local-clusters",[95,100,104,108,112],{"title":96,"path":97,"stem":98,"icon":99},"Colima Kubernetes","\u002Fen\u002Fcluster-guides\u002Flocal-clusters\u002Fcolima","en\u002F5.cluster-guides\u002F1.local-clusters\u002F1.colima","i-simple-icons-kubernetes",{"title":101,"path":102,"stem":103,"icon":24},"Docker Desktop Kubernetes (OSX)","\u002Fen\u002Fcluster-guides\u002Flocal-clusters\u002Fdocker-desktop","en\u002F5.cluster-guides\u002F1.local-clusters\u002F2.docker-desktop",{"title":105,"path":106,"stem":107},"k3d","\u002Fen\u002Fcluster-guides\u002Flocal-clusters\u002Fk3d","en\u002F5.cluster-guides\u002F1.local-clusters\u002F3.k3d",{"title":109,"path":110,"stem":111},"kind","\u002Fen\u002Fcluster-guides\u002Flocal-clusters\u002Fkind","en\u002F5.cluster-guides\u002F1.local-clusters\u002F4.kind",{"title":113,"path":114,"stem":115,"icon":99},"minikube","\u002Fen\u002Fcluster-guides\u002Flocal-clusters\u002Fminikube","en\u002F5.cluster-guides\u002F1.local-clusters\u002F5.minikube",{"title":117,"path":118,"stem":119,"icon":120},"Overview","\u002Fen\u002Fcluster-guides\u002Foverview","en\u002F5.cluster-guides\u002F1.overview","i-lucide-network",{"title":122,"path":123,"stem":124,"children":125,"page":40},"Remote Clouds","\u002Fen\u002Fcluster-guides\u002Fremote-clouds","en\u002F5.cluster-guides\u002F2.remote-clouds",[126,131,136],{"title":127,"path":128,"stem":129,"icon":130},"Google Cloud Platform (GCP)","\u002Fen\u002Fcluster-guides\u002Fremote-clouds\u002Fgke","en\u002F5.cluster-guides\u002F2.remote-clouds\u002F1.gke","i-material-icon-theme:gcp",{"title":132,"path":133,"stem":134,"icon":135},"Elastic Kubernetes Service (EKS)","\u002Fen\u002Fcluster-guides\u002Fremote-clouds\u002Feks","en\u002F5.cluster-guides\u002F2.remote-clouds\u002F2.eks","i-simple-icons-amazoneks",{"title":137,"path":138,"stem":139,"icon":99},"SysEleven MetaKube","\u002Fen\u002Fcluster-guides\u002Fremote-clouds\u002Fsyseleven","en\u002F5.cluster-guides\u002F2.remote-clouds\u002F3.syseleven",{"title":141,"path":142,"stem":143,"children":144,"page":40},"Use Cases and Demos","\u002Fen\u002Fusecases-and-demos","en\u002F5.usecases-and-demos",[145,148,153,158,162],{"title":72,"path":146,"stem":147,"icon":10},"\u002Fen\u002Fusecases-and-demos\u002Fgetting-started","en\u002F5.usecases-and-demos\u002F1.getting-started",{"title":149,"path":150,"stem":151,"icon":152},"Developing Go Applications with Gefyra","\u002Fen\u002Fusecases-and-demos\u002Fgolang","en\u002F5.usecases-and-demos\u002F2.golang","i-simple-icons-go",{"title":154,"path":155,"stem":156,"icon":157},"OAuth2 Demo with a Sidecar","\u002Fen\u002Fusecases-and-demos\u002Foauth2-demo","en\u002F5.usecases-and-demos\u002F3.oauth2-demo","i-devicon-plain:oauth",{"title":159,"path":160,"stem":161,"icon":130},"Remote Development on Google Kubernetes Engine","\u002Fen\u002Fusecases-and-demos\u002Fremote-gke","en\u002F5.usecases-and-demos\u002F4.remote-gke",{"title":163,"path":164,"stem":165,"icon":166},"Run an Ubuntu Container instance","\u002Fen\u002Fusecases-and-demos\u002Fubuntu-in-namespace","en\u002F5.usecases-and-demos\u002F5.ubuntu-in-namespace","i-simple-icons-ubuntu",{"title":168,"path":169,"stem":170,"children":171,"page":40},"Architecture","\u002Fen\u002Farchitecture","en\u002F6.architecture",[172,176],{"title":168,"path":173,"stem":174,"icon":175},"\u002Fen\u002Farchitecture\u002Fhow-gefyra-works","en\u002F6.architecture\u002F1.how-gefyra-works","i-lucide-square-chevron-right",{"title":177,"path":178,"stem":179,"icon":180},"Gefyra Components","\u002Fen\u002Farchitecture\u002Fcomponents","en\u002F6.architecture\u002F2.components","i-lucide-circle-question-mark",{"title":182,"path":183,"stem":184,"children":185,"page":40},"Comparisons","\u002Fen\u002Fcomparisons","en\u002F7.comparisons",[186,191],{"title":187,"path":188,"stem":189,"icon":190},"Gefyra vs. Telepresence","\u002Fen\u002Fcomparisons\u002Fgefyra-vs-telepresence","en\u002F7.comparisons\u002F1.gefyra-vs-telepresence","i-lucide-git-compare",{"title":192,"path":193,"stem":194,"icon":190},"Gefyra vs. mirrord","\u002Fen\u002Fcomparisons\u002Fgefyra-vs-mirrord","en\u002F7.comparisons\u002F2.gefyra-vs-mirrord",{"title":196,"path":197,"stem":198,"children":199,"page":40},"Reference","\u002Fen\u002Freference","en\u002F8.reference",[200,205,210,215,220],{"title":201,"path":202,"stem":203,"icon":204},"CLI","\u002Fen\u002Freference\u002Fcli","en\u002F8.reference\u002F1.cli","i-lucide-square-terminal",{"title":206,"path":207,"stem":208,"icon":209},"CRD Reference","\u002Fen\u002Freference\u002Fcrd-reference","en\u002F8.reference\u002F2.crd-reference","i-lucide-file-code",{"title":211,"path":212,"stem":213,"icon":214},"What changed in Gefyra 2?","\u002Fen\u002Freference\u002Fv1-vs-v2","en\u002F8.reference\u002F3.v1-vs-v2","i-lucide-history",{"title":216,"path":217,"stem":218,"icon":219},"Media","\u002Fen\u002Freference\u002Fmedia","en\u002F8.reference\u002F4.media","i-lucide-play",{"title":221,"path":222,"stem":223,"icon":224},"About","\u002Fen\u002Freference\u002Fabout","en\u002F8.reference\u002F5.about","i-lucide-info",{"id":226,"title":227,"body":228,"description":1364,"extension":1365,"links":1366,"meta":1367,"navigation":1368,"path":53,"seo":1369,"stem":54,"__hash__":1370},"docs_en\u002Fen\u002F3.developer-workflows\u002F2.ide-debugging.md","Interactive IDE Debugging with Breakpoints",{"type":229,"value":230,"toc":1351},"minimark",[231,244,252,258,261,266,271,273,277,282,289,393,397,490,497,503,767,774,776,780,809,840,845,930,935,937,941,948,1067,1070,1207,1209,1217,1223,1341,1347],[232,233,234,235,239,240,243],"p",{},"Debugging microservices in cloud environments is notoriously painful. Developers are frequently reduced to ",[236,237,238],"code",{},"console.log"," or ",[236,241,242],{},"print()"," statements, followed by a 15-minute wait for container builds, only to dig through noisy pod logs in Datadog or Grafana Loki.",[232,245,246,247,251],{},"Gefyra gives you ",[248,249,250],"strong",{},"real IDE step-through debugging against live cluster traffic",".",[232,253,254,255,251],{},"When a request arrives at your cluster Ingress or from an upstream microservice, Gefyra intercepts the packet, routes it to your local container, and ",[248,256,257],{},"hits the breakpoint in your local VS Code or PyCharm editor",[259,260],"hr",{},[262,263,265],"h2",{"id":264},"architecture-from-ingress-to-local-breakpoint","Architecture: From Ingress to Local Breakpoint",[267,268],"content-mermaid-transport",{":page-data":269,"code":270},"runtimeData","sequenceDiagram%0A%20%20%20%20participant%20Ingress%20as%20K8s%20Ingress%0A%20%20%20%20participant%20Carrier%20as%20Carrier2%20Proxy%0A%20%20%20%20participant%20LocalApp%20as%20Local%20Container%20(Debug%20Mode)%0A%20%20%20%20participant%20IDE%20as%20Local%20IDE%20(VS%20Code%20%2F%20PyCharm)%0A%20%20%20%20participant%20DB%20as%20Staging%20Cluster%20Database%0A%0A%20%20%20%20Ingress-%3E%3ECarrier%3A%20Incoming%20HTTP%20Request%0A%20%20%20%20Carrier-%3E%3ELocalApp%3A%20Forward%20traffic%20via%20WireGuard%0A%20%20%20%20LocalApp-%3E%3EIDE%3A%20Debugger%20hits%20breakpoint%20%F0%9F%94%B4%0A%20%20%20%20Note%20over%20IDE%3A%20Inspect%20variables%2C%20step%20over%20lines%2C%20eval%20expressions%0A%20%20%20%20IDE-%3E%3ELocalApp%3A%20Continue%20execution%0A%20%20%20%20LocalApp-%3E%3EDB%3A%20Query%20remote%20staging%20database%0A%20%20%20%20DB--%3E%3ELocalApp%3A%20Real%20data%20returned%0A%20%20%20%20LocalApp--%3E%3ECarrier%3A%20HTTP%20200%20Response%0A%20%20%20%20Carrier--%3E%3EIngress%3A%20Return%20response%20to%20user",[259,272],{},[262,274,276],{"id":275},"python-vs-code-with-debugpy","Python: VS Code with debugpy",[278,279,281],"h3",{"id":280},"step-1-run-container-with-debugpy-exposed","Step 1: Run Container with debugpy Exposed",[232,283,284,285,288],{},"Run your container with debugpy listening on port ",[236,286,287],{},"5678",":",[290,291,296],"pre",{"className":292,"code":293,"language":294,"meta":295,"style":295},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","gefyra run \\\n  -i python:3.12-slim \\\n  -N local-auth \\\n  -p 5678:5678 \\\n  -v $(pwd):\u002Fapp \\\n  -c \"python -m debugpy --listen 0.0.0.0:5678 --wait-for-client -m uvicorn main:app --host 0.0.0.0 --port 8000\" \\\n  -d\n","bash","",[236,297,298,315,326,337,348,370,387],{"__ignoreMap":295},[299,300,303,307,311],"span",{"class":301,"line":302},"line",1,[299,304,306],{"class":305},"sBMFI","gefyra",[299,308,310],{"class":309},"sfazB"," run",[299,312,314],{"class":313},"sTEyZ"," \\\n",[299,316,318,321,324],{"class":301,"line":317},2,[299,319,320],{"class":309},"  -i",[299,322,323],{"class":309}," python:3.12-slim",[299,325,314],{"class":313},[299,327,329,332,335],{"class":301,"line":328},3,[299,330,331],{"class":309},"  -N",[299,333,334],{"class":309}," local-auth",[299,336,314],{"class":313},[299,338,340,343,346],{"class":301,"line":339},4,[299,341,342],{"class":309},"  -p",[299,344,345],{"class":309}," 5678:5678",[299,347,314],{"class":313},[299,349,351,354,358,362,365,368],{"class":301,"line":350},5,[299,352,353],{"class":309},"  -v",[299,355,357],{"class":356},"sMK4o"," $(",[299,359,361],{"class":360},"s2Zo4","pwd",[299,363,364],{"class":356},")",[299,366,367],{"class":309},":\u002Fapp",[299,369,314],{"class":313},[299,371,373,376,379,382,385],{"class":301,"line":372},6,[299,374,375],{"class":309},"  -c",[299,377,378],{"class":356}," \"",[299,380,381],{"class":309},"python -m debugpy --listen 0.0.0.0:5678 --wait-for-client -m uvicorn main:app --host 0.0.0.0 --port 8000",[299,383,384],{"class":356},"\"",[299,386,314],{"class":313},[299,388,390],{"class":301,"line":389},7,[299,391,392],{"class":309},"  -d\n",[278,394,396],{"id":395},"step-2-mount-and-bridge-your-service","Step 2: Mount and Bridge Your Service",[290,398,400],{"className":292,"code":399,"language":294,"meta":295,"style":295},"# 1. Mount the target deployment in the cluster\ngefyra mount create --target deployment\u002Fauth-service\u002Fauth --name auth-mount\n\n# 2. Bridge incoming cluster traffic to your debug container\ngefyra bridge create \\\n  --mount auth-mount \\\n  -p 8000:8000 \\\n  -t local-auth \\\n  --match-path-prefix \u002F\n",[236,401,402,408,430,436,441,452,462,471,481],{"__ignoreMap":295},[299,403,404],{"class":301,"line":302},[299,405,407],{"class":406},"sHwdD","# 1. Mount the target deployment in the cluster\n",[299,409,410,412,415,418,421,424,427],{"class":301,"line":317},[299,411,306],{"class":305},[299,413,414],{"class":309}," mount",[299,416,417],{"class":309}," create",[299,419,420],{"class":309}," --target",[299,422,423],{"class":309}," deployment\u002Fauth-service\u002Fauth",[299,425,426],{"class":309}," --name",[299,428,429],{"class":309}," auth-mount\n",[299,431,432],{"class":301,"line":328},[299,433,435],{"emptyLinePlaceholder":434},true,"\n",[299,437,438],{"class":301,"line":339},[299,439,440],{"class":406},"# 2. Bridge incoming cluster traffic to your debug container\n",[299,442,443,445,448,450],{"class":301,"line":350},[299,444,306],{"class":305},[299,446,447],{"class":309}," bridge",[299,449,417],{"class":309},[299,451,314],{"class":313},[299,453,454,457,460],{"class":301,"line":372},[299,455,456],{"class":309},"  --mount",[299,458,459],{"class":309}," auth-mount",[299,461,314],{"class":313},[299,463,464,466,469],{"class":301,"line":389},[299,465,342],{"class":309},[299,467,468],{"class":309}," 8000:8000",[299,470,314],{"class":313},[299,472,474,477,479],{"class":301,"line":473},8,[299,475,476],{"class":309},"  -t",[299,478,334],{"class":309},[299,480,314],{"class":313},[299,482,484,487],{"class":301,"line":483},9,[299,485,486],{"class":309},"  --match-path-prefix",[299,488,489],{"class":309}," \u002F\n",[278,491,493,494],{"id":492},"step-3-configure-vs-code-launchjson","Step 3: Configure VS Code ",[236,495,496],{},"launch.json",[232,498,499,500,288],{},"Add a remote attach configuration in ",[236,501,502],{},".vscode\u002Flaunch.json",[290,504,508],{"className":505,"code":506,"language":507,"meta":295,"style":295},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"version\": \"0.2.0\",\n  \"configurations\": [\n    {\n      \"name\": \"Python: Attach to Gefyra Container\",\n      \"type\": \"debugpy\",\n      \"request\": \"attach\",\n      \"connect\": {\n        \"host\": \"localhost\",\n        \"port\": 5678\n      },\n      \"pathMappings\": [\n        {\n          \"localRoot\": \"${workspaceFolder}\",\n          \"remoteRoot\": \"\u002Fapp\"\n        }\n      ]\n    }\n  ]\n}\n","json",[236,509,510,515,538,552,557,578,598,618,632,654,669,675,689,695,717,737,743,749,755,761],{"__ignoreMap":295},[299,511,512],{"class":301,"line":302},[299,513,514],{"class":356},"{\n",[299,516,517,520,524,526,528,530,533,535],{"class":301,"line":317},[299,518,519],{"class":356},"  \"",[299,521,523],{"class":522},"spNyl","version",[299,525,384],{"class":356},[299,527,288],{"class":356},[299,529,378],{"class":356},[299,531,532],{"class":309},"0.2.0",[299,534,384],{"class":356},[299,536,537],{"class":356},",\n",[299,539,540,542,545,547,549],{"class":301,"line":328},[299,541,519],{"class":356},[299,543,544],{"class":522},"configurations",[299,546,384],{"class":356},[299,548,288],{"class":356},[299,550,551],{"class":356}," [\n",[299,553,554],{"class":301,"line":339},[299,555,556],{"class":356},"    {\n",[299,558,559,562,565,567,569,571,574,576],{"class":301,"line":350},[299,560,561],{"class":356},"      \"",[299,563,564],{"class":305},"name",[299,566,384],{"class":356},[299,568,288],{"class":356},[299,570,378],{"class":356},[299,572,573],{"class":309},"Python: Attach to Gefyra Container",[299,575,384],{"class":356},[299,577,537],{"class":356},[299,579,580,582,585,587,589,591,594,596],{"class":301,"line":372},[299,581,561],{"class":356},[299,583,584],{"class":305},"type",[299,586,384],{"class":356},[299,588,288],{"class":356},[299,590,378],{"class":356},[299,592,593],{"class":309},"debugpy",[299,595,384],{"class":356},[299,597,537],{"class":356},[299,599,600,602,605,607,609,611,614,616],{"class":301,"line":389},[299,601,561],{"class":356},[299,603,604],{"class":305},"request",[299,606,384],{"class":356},[299,608,288],{"class":356},[299,610,378],{"class":356},[299,612,613],{"class":309},"attach",[299,615,384],{"class":356},[299,617,537],{"class":356},[299,619,620,622,625,627,629],{"class":301,"line":473},[299,621,561],{"class":356},[299,623,624],{"class":305},"connect",[299,626,384],{"class":356},[299,628,288],{"class":356},[299,630,631],{"class":356}," {\n",[299,633,634,637,641,643,645,647,650,652],{"class":301,"line":483},[299,635,636],{"class":356},"        \"",[299,638,640],{"class":639},"sbssI","host",[299,642,384],{"class":356},[299,644,288],{"class":356},[299,646,378],{"class":356},[299,648,649],{"class":309},"localhost",[299,651,384],{"class":356},[299,653,537],{"class":356},[299,655,657,659,662,664,666],{"class":301,"line":656},10,[299,658,636],{"class":356},[299,660,661],{"class":639},"port",[299,663,384],{"class":356},[299,665,288],{"class":356},[299,667,668],{"class":639}," 5678\n",[299,670,672],{"class":301,"line":671},11,[299,673,674],{"class":356},"      },\n",[299,676,678,680,683,685,687],{"class":301,"line":677},12,[299,679,561],{"class":356},[299,681,682],{"class":305},"pathMappings",[299,684,384],{"class":356},[299,686,288],{"class":356},[299,688,551],{"class":356},[299,690,692],{"class":301,"line":691},13,[299,693,694],{"class":356},"        {\n",[299,696,698,701,704,706,708,710,713,715],{"class":301,"line":697},14,[299,699,700],{"class":356},"          \"",[299,702,703],{"class":639},"localRoot",[299,705,384],{"class":356},[299,707,288],{"class":356},[299,709,378],{"class":356},[299,711,712],{"class":309},"${workspaceFolder}",[299,714,384],{"class":356},[299,716,537],{"class":356},[299,718,720,722,725,727,729,731,734],{"class":301,"line":719},15,[299,721,700],{"class":356},[299,723,724],{"class":639},"remoteRoot",[299,726,384],{"class":356},[299,728,288],{"class":356},[299,730,378],{"class":356},[299,732,733],{"class":309},"\u002Fapp",[299,735,736],{"class":356},"\"\n",[299,738,740],{"class":301,"line":739},16,[299,741,742],{"class":356},"        }\n",[299,744,746],{"class":301,"line":745},17,[299,747,748],{"class":356},"      ]\n",[299,750,752],{"class":301,"line":751},18,[299,753,754],{"class":356},"    }\n",[299,756,758],{"class":301,"line":757},19,[299,759,760],{"class":356},"  ]\n",[299,762,764],{"class":301,"line":763},20,[299,765,766],{"class":356},"}\n",[232,768,769,770,773],{},"Press ",[248,771,772],{},"F5"," in VS Code. Set a breakpoint on any controller or route handler. Send a request to your remote staging cluster ingress—your local breakpoint will pause execution immediately!",[259,775],{},[262,777,779],{"id":778},"python-pycharm-intellij-idea","Python: PyCharm \u002F IntelliJ IDEA",[781,782,783,791,806],"ol",{},[784,785,786,787,790],"li",{},"In PyCharm, create a ",[248,788,789],{},"Python Debug Server"," run configuration.",[784,792,793,794,797,798,800,801,797,804,251],{},"Set ",[248,795,796],{},"IDE host name:"," ",[236,799,649],{}," and ",[248,802,803],{},"Port:",[236,805,287],{},[784,807,808],{},"PyCharm provides a snippet:",[290,810,814],{"className":811,"code":812,"language":813,"meta":295,"style":295},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import pydevd_pycharm\n\npydevd_pycharm.settrace(\n    \"host.docker.internal\", port=5678, stdoutToServer=True, stderrToServer=True\n)\n","python",[236,815,816,821,825,830,835],{"__ignoreMap":295},[299,817,818],{"class":301,"line":302},[299,819,820],{},"import pydevd_pycharm\n",[299,822,823],{"class":301,"line":317},[299,824,435],{"emptyLinePlaceholder":434},[299,826,827],{"class":301,"line":328},[299,828,829],{},"pydevd_pycharm.settrace(\n",[299,831,832],{"class":301,"line":339},[299,833,834],{},"    \"host.docker.internal\", port=5678, stdoutToServer=True, stderrToServer=True\n",[299,836,837],{"class":301,"line":350},[299,838,839],{},")\n",[781,841,842],{"start":339},[784,843,844],{},"Run your container via Gefyra, mount, and bridge:",[290,846,848],{"className":292,"code":847,"language":294,"meta":295,"style":295},"gefyra run -i myapp:dev -N myapp -v $(pwd):\u002Fapp -d\ngefyra mount create --target deployment\u002Fmyapp\u002Fapp --name myapp-mount\ngefyra bridge create --mount myapp-mount -p 8080:8080 -t myapp --match-path-prefix \u002F\n",[236,849,850,882,900],{"__ignoreMap":295},[299,851,852,854,856,859,862,865,868,871,873,875,877,879],{"class":301,"line":302},[299,853,306],{"class":305},[299,855,310],{"class":309},[299,857,858],{"class":309}," -i",[299,860,861],{"class":309}," myapp:dev",[299,863,864],{"class":309}," -N",[299,866,867],{"class":309}," myapp",[299,869,870],{"class":309}," -v",[299,872,357],{"class":356},[299,874,361],{"class":360},[299,876,364],{"class":356},[299,878,367],{"class":309},[299,880,881],{"class":309}," -d\n",[299,883,884,886,888,890,892,895,897],{"class":301,"line":317},[299,885,306],{"class":305},[299,887,414],{"class":309},[299,889,417],{"class":309},[299,891,420],{"class":309},[299,893,894],{"class":309}," deployment\u002Fmyapp\u002Fapp",[299,896,426],{"class":309},[299,898,899],{"class":309}," myapp-mount\n",[299,901,902,904,906,908,911,914,917,920,923,925,928],{"class":301,"line":328},[299,903,306],{"class":305},[299,905,447],{"class":309},[299,907,417],{"class":309},[299,909,910],{"class":309}," --mount",[299,912,913],{"class":309}," myapp-mount",[299,915,916],{"class":309}," -p",[299,918,919],{"class":309}," 8080:8080",[299,921,922],{"class":309}," -t",[299,924,867],{"class":309},[299,926,927],{"class":309}," --match-path-prefix",[299,929,489],{"class":309},[781,931,932],{"start":350},[784,933,934],{},"As soon as the container executes the trace instruction, PyCharm attaches and unlocks full interactive debugging.",[259,936],{},[262,938,940],{"id":939},"nodejs-typescript-chrome-devtools-vs-code","Node.js & TypeScript: Chrome DevTools & VS Code",[232,942,943,944,947],{},"Expose Node's inspector port (",[236,945,946],{},"9229","):",[290,949,951],{"className":292,"code":950,"language":294,"meta":295,"style":295},"gefyra run \\\n  -i node:22-alpine \\\n  -N local-api \\\n  -p 9229:9229 \\\n  -v $(pwd):\u002Fapp \\\n  -c \"node --inspect=0.0.0.0:9229 dist\u002Findex.js\" \\\n  -d\n\ngefyra mount create --target deployment\u002Fapi-gateway\u002Fapi --name api-mount\ngefyra bridge create --mount api-mount -p 3000:3000 -t local-api --match-path-prefix \u002F\n",[236,952,953,961,970,979,988,1002,1015,1019,1023,1041],{"__ignoreMap":295},[299,954,955,957,959],{"class":301,"line":302},[299,956,306],{"class":305},[299,958,310],{"class":309},[299,960,314],{"class":313},[299,962,963,965,968],{"class":301,"line":317},[299,964,320],{"class":309},[299,966,967],{"class":309}," node:22-alpine",[299,969,314],{"class":313},[299,971,972,974,977],{"class":301,"line":328},[299,973,331],{"class":309},[299,975,976],{"class":309}," local-api",[299,978,314],{"class":313},[299,980,981,983,986],{"class":301,"line":339},[299,982,342],{"class":309},[299,984,985],{"class":309}," 9229:9229",[299,987,314],{"class":313},[299,989,990,992,994,996,998,1000],{"class":301,"line":350},[299,991,353],{"class":309},[299,993,357],{"class":356},[299,995,361],{"class":360},[299,997,364],{"class":356},[299,999,367],{"class":309},[299,1001,314],{"class":313},[299,1003,1004,1006,1008,1011,1013],{"class":301,"line":372},[299,1005,375],{"class":309},[299,1007,378],{"class":356},[299,1009,1010],{"class":309},"node --inspect=0.0.0.0:9229 dist\u002Findex.js",[299,1012,384],{"class":356},[299,1014,314],{"class":313},[299,1016,1017],{"class":301,"line":389},[299,1018,392],{"class":309},[299,1020,1021],{"class":301,"line":473},[299,1022,435],{"emptyLinePlaceholder":434},[299,1024,1025,1027,1029,1031,1033,1036,1038],{"class":301,"line":483},[299,1026,306],{"class":305},[299,1028,414],{"class":309},[299,1030,417],{"class":309},[299,1032,420],{"class":309},[299,1034,1035],{"class":309}," deployment\u002Fapi-gateway\u002Fapi",[299,1037,426],{"class":309},[299,1039,1040],{"class":309}," api-mount\n",[299,1042,1043,1045,1047,1049,1051,1054,1056,1059,1061,1063,1065],{"class":301,"line":656},[299,1044,306],{"class":305},[299,1046,447],{"class":309},[299,1048,417],{"class":309},[299,1050,910],{"class":309},[299,1052,1053],{"class":309}," api-mount",[299,1055,916],{"class":309},[299,1057,1058],{"class":309}," 3000:3000",[299,1060,922],{"class":309},[299,1062,976],{"class":309},[299,1064,927],{"class":309},[299,1066,489],{"class":309},[232,1068,1069],{},"Attach VS Code with this configuration:",[290,1071,1073],{"className":505,"code":1072,"language":507,"meta":295,"style":295},"{\n  \"name\": \"Attach to Node in Gefyra\",\n  \"type\": \"node\",\n  \"request\": \"attach\",\n  \"port\": 9229,\n  \"address\": \"localhost\",\n  \"localRoot\": \"${workspaceFolder}\",\n  \"remoteRoot\": \"\u002Fapp\"\n}\n",[236,1074,1075,1079,1098,1117,1135,1150,1169,1187,1203],{"__ignoreMap":295},[299,1076,1077],{"class":301,"line":302},[299,1078,514],{"class":356},[299,1080,1081,1083,1085,1087,1089,1091,1094,1096],{"class":301,"line":317},[299,1082,519],{"class":356},[299,1084,564],{"class":522},[299,1086,384],{"class":356},[299,1088,288],{"class":356},[299,1090,378],{"class":356},[299,1092,1093],{"class":309},"Attach to Node in Gefyra",[299,1095,384],{"class":356},[299,1097,537],{"class":356},[299,1099,1100,1102,1104,1106,1108,1110,1113,1115],{"class":301,"line":328},[299,1101,519],{"class":356},[299,1103,584],{"class":522},[299,1105,384],{"class":356},[299,1107,288],{"class":356},[299,1109,378],{"class":356},[299,1111,1112],{"class":309},"node",[299,1114,384],{"class":356},[299,1116,537],{"class":356},[299,1118,1119,1121,1123,1125,1127,1129,1131,1133],{"class":301,"line":339},[299,1120,519],{"class":356},[299,1122,604],{"class":522},[299,1124,384],{"class":356},[299,1126,288],{"class":356},[299,1128,378],{"class":356},[299,1130,613],{"class":309},[299,1132,384],{"class":356},[299,1134,537],{"class":356},[299,1136,1137,1139,1141,1143,1145,1148],{"class":301,"line":350},[299,1138,519],{"class":356},[299,1140,661],{"class":522},[299,1142,384],{"class":356},[299,1144,288],{"class":356},[299,1146,1147],{"class":639}," 9229",[299,1149,537],{"class":356},[299,1151,1152,1154,1157,1159,1161,1163,1165,1167],{"class":301,"line":372},[299,1153,519],{"class":356},[299,1155,1156],{"class":522},"address",[299,1158,384],{"class":356},[299,1160,288],{"class":356},[299,1162,378],{"class":356},[299,1164,649],{"class":309},[299,1166,384],{"class":356},[299,1168,537],{"class":356},[299,1170,1171,1173,1175,1177,1179,1181,1183,1185],{"class":301,"line":389},[299,1172,519],{"class":356},[299,1174,703],{"class":522},[299,1176,384],{"class":356},[299,1178,288],{"class":356},[299,1180,378],{"class":356},[299,1182,712],{"class":309},[299,1184,384],{"class":356},[299,1186,537],{"class":356},[299,1188,1189,1191,1193,1195,1197,1199,1201],{"class":301,"line":473},[299,1190,519],{"class":356},[299,1192,724],{"class":522},[299,1194,384],{"class":356},[299,1196,288],{"class":356},[299,1198,378],{"class":356},[299,1200,733],{"class":309},[299,1202,736],{"class":356},[299,1204,1205],{"class":301,"line":483},[299,1206,766],{"class":356},[259,1208],{},[262,1210,1212,1213,1216],{"id":1211},"go-delve-dlv-debugger","Go: Delve (",[236,1214,1215],{},"dlv",") Debugger",[232,1218,1219,1220,947],{},"For Go services, compile with debug symbols disabled from optimizations (",[236,1221,1222],{},"-gcflags=\"all=-N -l\"",[290,1224,1226],{"className":292,"code":1225,"language":294,"meta":295,"style":295},"gefyra run \\\n  -i golang:1.24 \\\n  -N local-go \\\n  -p 40000:40000 \\\n  -v $(pwd):\u002Fapp \\\n  -c \"dlv --listen=:40000 --headless=true --api-version=2 --accept-multiclient exec .\u002Fbin\u002Fserver\" \\\n  -d\n\ngefyra mount create --target deployment\u002Forders-service\u002Fserver --name orders-mount\ngefyra bridge create --mount orders-mount -p 8080:8080 -t local-go --match-path-prefix \u002F\n",[236,1227,1228,1236,1245,1254,1263,1277,1290,1294,1298,1316],{"__ignoreMap":295},[299,1229,1230,1232,1234],{"class":301,"line":302},[299,1231,306],{"class":305},[299,1233,310],{"class":309},[299,1235,314],{"class":313},[299,1237,1238,1240,1243],{"class":301,"line":317},[299,1239,320],{"class":309},[299,1241,1242],{"class":309}," golang:1.24",[299,1244,314],{"class":313},[299,1246,1247,1249,1252],{"class":301,"line":328},[299,1248,331],{"class":309},[299,1250,1251],{"class":309}," local-go",[299,1253,314],{"class":313},[299,1255,1256,1258,1261],{"class":301,"line":339},[299,1257,342],{"class":309},[299,1259,1260],{"class":309}," 40000:40000",[299,1262,314],{"class":313},[299,1264,1265,1267,1269,1271,1273,1275],{"class":301,"line":350},[299,1266,353],{"class":309},[299,1268,357],{"class":356},[299,1270,361],{"class":360},[299,1272,364],{"class":356},[299,1274,367],{"class":309},[299,1276,314],{"class":313},[299,1278,1279,1281,1283,1286,1288],{"class":301,"line":372},[299,1280,375],{"class":309},[299,1282,378],{"class":356},[299,1284,1285],{"class":309},"dlv --listen=:40000 --headless=true --api-version=2 --accept-multiclient exec .\u002Fbin\u002Fserver",[299,1287,384],{"class":356},[299,1289,314],{"class":313},[299,1291,1292],{"class":301,"line":389},[299,1293,392],{"class":309},[299,1295,1296],{"class":301,"line":473},[299,1297,435],{"emptyLinePlaceholder":434},[299,1299,1300,1302,1304,1306,1308,1311,1313],{"class":301,"line":483},[299,1301,306],{"class":305},[299,1303,414],{"class":309},[299,1305,417],{"class":309},[299,1307,420],{"class":309},[299,1309,1310],{"class":309}," deployment\u002Forders-service\u002Fserver",[299,1312,426],{"class":309},[299,1314,1315],{"class":309}," orders-mount\n",[299,1317,1318,1320,1322,1324,1326,1329,1331,1333,1335,1337,1339],{"class":301,"line":656},[299,1319,306],{"class":305},[299,1321,447],{"class":309},[299,1323,417],{"class":309},[299,1325,910],{"class":309},[299,1327,1328],{"class":309}," orders-mount",[299,1330,916],{"class":309},[299,1332,919],{"class":309},[299,1334,922],{"class":309},[299,1336,1251],{"class":309},[299,1338,927],{"class":309},[299,1340,489],{"class":309},[232,1342,1343,1344,251],{},"Attach with GoLand or VS Code using the Go debugger on ",[236,1345,1346],{},"localhost:40000",[1348,1349,1350],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":295,"searchDepth":317,"depth":317,"links":1352},[1353,1354,1360,1361,1362],{"id":264,"depth":317,"text":265},{"id":275,"depth":317,"text":276,"children":1355},[1356,1357,1358],{"id":280,"depth":328,"text":281},{"id":395,"depth":328,"text":396},{"id":492,"depth":328,"text":1359},"Step 3: Configure VS Code launch.json",{"id":778,"depth":317,"text":779},{"id":939,"depth":317,"text":940},{"id":1211,"depth":317,"text":1363},"Go: Delve (dlv) Debugger","Set live breakpoints in VS Code, PyCharm, and IntelliJ while stepping through requests intercepted directly from your Kubernetes staging cluster.","md",null,{},{"title":52,"icon":55},{"title":227,"description":1364},"8mx4pGUw_cPION7PhBZaMwdmgD2nlEimMPfnZmOJISY",[1372,1374],{"title":47,"path":48,"stem":49,"description":1373,"icon":50,"children":-1},"Edit code locally, save, and see changes instantly live in your Kubernetes staging cluster. No Docker builds, no image tags, and no registry pushes.",{"title":57,"path":58,"stem":59,"description":1375,"icon":60,"children":-1},"Understand the difference between Gefyra's run and bridge commands. Learn when to use outbound-only cluster access vs. full inbound traffic interception.",1795114694031]