Skip to content

does not work for "Shell Script" run config #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
fraser-langton opened this issue Jan 24, 2025 · 0 comments
Open

does not work for "Shell Script" run config #105

fraser-langton opened this issue Jan 24, 2025 · 0 comments

Comments

@fraser-langton
Copy link

I have a docker compose app and I am trying to attach to a container to view the logs, I thought if I used PyCharm run config then this plugin would pick it, unfortunately it doesn't.

It works when I use a docker compose interpreter run config for python (although there is a small bug there)

here is the run config

<component name="ProjectRunConfigurationManager">
  <configuration default="false" name="app-1 logs" type="ShConfigurationType">
    <option name="SCRIPT_TEXT" value="docker attach k3-app-1" />
    <option name="INDEPENDENT_SCRIPT_PATH" value="true" />
    <option name="SCRIPT_PATH" value="" />
    <option name="SCRIPT_OPTIONS" value="" />
    <option name="INDEPENDENT_SCRIPT_WORKING_DIRECTORY" value="true" />
    <option name="SCRIPT_WORKING_DIRECTORY" value="$PROJECT_DIR$" />
    <option name="INDEPENDENT_INTERPRETER_PATH" value="true" />
    <option name="INTERPRETER_PATH" value="/bin/zsh" />
    <option name="INTERPRETER_OPTIONS" value="" />
    <option name="EXECUTE_IN_TERMINAL" value="false" />
    <option name="EXECUTE_SCRIPT_FILE" value="false" />
    <envs />
    <method v="2" />
  </configuration>
</component>

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant