Skip to content

Commit cecd2c9

Browse files
authored
Adding diagnosis/troubleshooting as per Clojurians Slack discussion (#127)
Thank you!!!
1 parent eadfa84 commit cecd2c9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

doc/editors/intellij.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The main benefits of using this plugin are:
2828
- No window management.
2929
- Editor specific commands. See: goto-definition in the command palette.
3030

31-
## Debugging
31+
## Debugging / Troubleshooting
3232

3333
If after running `portal.api/open` at the REPL, the Portal UI does not open, it
3434
is most likely due to having a multi-module project. When the plugin is started,
@@ -38,3 +38,11 @@ able to use the Intellij plugin.
3838

3939
A quick hack to get around this problem is to symlink the `.portal` directory to
4040
the directory where the REPL process is started.
41+
42+
Similarly, if you get the following error message, simply remove the `.portal` directory, and try calling `(p/open {:launcher :intellij}` again.
43+
(This might be caused by the portal intellij extension not being initialized after upgrading, but you have an existing .portal/intellij.edn -- the clj runtime is trying to connect to a server that is no longer running.)
44+
45+
```
46+
Execution error (ConnectException) at sun.nio.ch.Net/pollConnect (Net.java:-2).
47+
Connection refused
48+
```

0 commit comments

Comments
 (0)