GoogleCloudPlatform / GoogleCloudPlatform/cloud-code-intellij

Debug mode mapping is hard-coded to project root

Open
#3,021 11 comments 2 reactions 0 assignees View on GitHub
area/python area/skaffold-debug triage/needs-more-information
Dominant language
No language data
Stars
325
Forks
64
PR merge metrics
No merged PRs in 30d

Description

(Please ensure you are running the latest version of Cloud Code for IntelliJ with _Help > Check for Updates_)
- Cloud Code for IntelliJ version: 21.10.1
- Google Cloud SDK version: 363.0.0
- OS: Mac OS X 11.6

Pycharm version:
```
PyCharm 2021.2.3 (Professional Edition)
Build #PY-212.5457.59, built on October 19, 2021
Runtime version: 11.0.12+7-b1504.40 x86_64

macOS 11.6

Non-Bundled Plugins: com.intellij.ideolog (203.0.27.0), com.mnr.java.intellij.idea.plugin.base64helper (2.0.3), zielu.gittoolbox (212.7.15), de.netnexus.camelcaseplugin (3.0.8), org.jetbrains.plugins.go-template (212.5457.62), mobi.hsz.idea.gitignore (4.3.0), org.intellij.plugins.hcl (0.7.14), fr.alexisvisco.gitlablinks (1.2), com.intellij.kubernetes (212.5457.4), com.google.gct.core (21.10.1), izhangzhihao.rainbow.brackets (6.21)
```

When launching it debug mode, there's a prompt to map the project root dir to the target image.
This is problematic for mono-repos and any case where the dockerized code isn't the project root.

What is the point of the debug mapping in the run configuration if it's not respected?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.