Skip to content

Commit 245949f

Browse files
MariusDruleaMariusDruleaRB
authored andcommitted
section for all modules except main
1 parent b664567 commit 245949f

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

docs/src/assets/debugger/16.png

241 KB
Loading

docs/src/assets/debugger/17.png

3.83 KB
Loading

docs/src/userguide/debugging.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,17 @@ Your code will run a lot faster with this option enabled.
109109

110110
### Troubleshooting
111111
If you encounter any issue when using the debugger, Please do let us know about it over at the [Julia VS Code](https://github.com/julia-vscode/julia-vscode) repository.
112+
113+
114+
## Settings to speed-up the debugger
115+
### `ALL_MODULES_EXCEPT_MAIN`
116+
In order to make the debugger run faster we want to minimize the number of packages/modules which are interpreted.
117+
Let's say you need to debug the code you wrote, but also the functionality provided by the package Statistics.
118+
Click on the Debugger Default Compiled extension setting.
119+
120+
![Debugger](../assets/debugger/16.png)
121+
122+
Configure this setting as in the picture bellow.
123+
`ALL_MODULES_EXCEPT_MAIN` will make everything run in compiled mode except for Main. We also use "-Statistics." to remove this package from the list of compiled modules, such that it will be interpreted.
124+
125+
![Debugger](../assets/debugger/17.png)

0 commit comments

Comments
 (0)