From 22d84ae726c40d65449c39b2ece4101f32608870 Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Tue, 21 Jan 2025 11:57:11 -0800 Subject: [PATCH] feat(jb): add ide logs --- extensions/intellij/.run/IDE Logs.run.xml | 17 +++++++++++++++++ extensions/intellij/.run/Run Continue.run.xml | 1 + extensions/intellij/CONTRIBUTING.md | 9 ++++----- 3 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 extensions/intellij/.run/IDE Logs.run.xml diff --git a/extensions/intellij/.run/IDE Logs.run.xml b/extensions/intellij/.run/IDE Logs.run.xml new file mode 100644 index 0000000000..2743ca662b --- /dev/null +++ b/extensions/intellij/.run/IDE Logs.run.xml @@ -0,0 +1,17 @@ + + + + \ No newline at end of file diff --git a/extensions/intellij/.run/Run Continue.run.xml b/extensions/intellij/.run/Run Continue.run.xml index 2cc85210fc..1366cd39ed 100644 --- a/extensions/intellij/.run/Run Continue.run.xml +++ b/extensions/intellij/.run/Run Continue.run.xml @@ -2,6 +2,7 @@ + diff --git a/extensions/intellij/CONTRIBUTING.md b/extensions/intellij/CONTRIBUTING.md index c62084620c..26f80ee420 100644 --- a/extensions/intellij/CONTRIBUTING.md +++ b/extensions/intellij/CONTRIBUTING.md @@ -90,10 +90,7 @@ allow for changes to your `config.json` and other files during development, with ### Viewing logs -When using the `Run Continue` task, we automatically run a script that outputs logs into the "Prompt Logs" terminal tab. - -Alternatively, you can view logs for a particular IDE instance by selecting `Help` -> `Open Log in Editor` in the window -toolbar. +When using the `Run Continue` task, we automatically tail both prompt logs and IDE logs. ### Reloading changes @@ -109,7 +106,9 @@ toolbar. - `extensions/intellij`: Breakpoints can be set in Intellij - `gui`: You'll need to set explicit `debugger` statements in the source code, or through the browser dev tools -- `core`: Breakpoints can be set in Intellij (requires restarting the `Start Core Dev Server` task +- `core`: Breakpoints can be set in Intellij (requires restarting the `Start Core Dev Server` task) + - If you have Community Edition installed, you won't be able to use breakpoints in IntelliJ. Instead, you can start + the `Core Binary` task in VS Code and set breakpoints in that IDE. ### Available Gradle tasks