ng-galien / idea-plpgdebugger

A plugin to debug PL/pg in Intellij
MIT License
48 stars 8 forks source link

DataGrip Plugin failed to start #102

Closed chernia closed 1 year ago

chernia commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Start debugging a procedure
  2. IDE error occurred: 1 of Exception in plugin PostgreSQL Debugger (222.3.3)

Run failed to start

java.util.NoSuchElementException: List is empty. at kotlin.collections.CollectionsKt___CollectionsKt.first(_Collections.kt:214) at net.plpgsql.ideadebugger.command.PlExecutor.createListener(PlExecutor.kt:111) at net.plpgsql.ideadebugger.run.PlProcess$InnerThread.run(PlProcess.kt:347)

Expected behavior Debuggers starts as described.

Screenshots

Screenshot 2023-05-09 at 19 56 44 Screenshot 2023-05-09 at 19 54 16

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

ng-galien commented 1 year ago

Please check you can run pldbg_create_listener() on your database. you probably install the extension on a specific schema.

chernia commented 1 year ago

You are right. It was in a specific schema, though in search_path. Once in public all seems fine. Thank you.