mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Move Galaxy configuration file for VS Code debugging into Galaxy repo
This commit is contained in:
@@ -5,8 +5,7 @@
|
||||
|
||||
The following instructions assume that you have cloned your Galaxy fork into the `~/galaxy` directory and have created a VS Code workspace per instructions [here](./debugging_tests.md)
|
||||
|
||||
1. Download this [ini](https://gist.github.com/kxk302/1b996e3359513e1f40d91ffbc82559c8) file and and save it as ~/galaxy/config/galaxy.ini.old
|
||||
2. Add the following code snippet to `~/galaxy/.vscode/launch.json` (create the file if it does not already exist)
|
||||
1. Add the following code snippet to `~/galaxy/.vscode/launch.json` (create the file if it does not already exist)
|
||||
```
|
||||
{
|
||||
"version": "0.2.0",
|
||||
@@ -25,7 +24,7 @@ The following instructions assume that you have cloned your Galaxy fork into the
|
||||
"program": "${workspaceFolder}/scripts/paster.py",
|
||||
"args": [
|
||||
"serve",
|
||||
"config/galaxy.ini.old",
|
||||
"config/galaxy_vscode.ini",
|
||||
"--log-file",
|
||||
"galaxy.log",
|
||||
],
|
||||
@@ -34,8 +33,8 @@ The following instructions assume that you have cloned your Galaxy fork into the
|
||||
}
|
||||
|
||||
```
|
||||
3. Re-start VS Code
|
||||
4. Add a breakpoint somewhere in your code
|
||||
5. Select Run and Debug on Activity Bar, on the far left hand side. In the RUN AND DEBUG drop down, select Galaxy debug (galaxy), and click the Start Debugging button (green arrow)
|
||||
6. Galaxy should stop right on the break point you added.
|
||||
7. Enjoy your debugging session :-)
|
||||
2. Re-start VS Code
|
||||
3. Add a breakpoint somewhere in your code
|
||||
4. Select Run and Debug on Activity Bar, on the far left hand side. In the RUN AND DEBUG drop down, select Galaxy debug (galaxy), and click the Start Debugging button (green arrow)
|
||||
5. Galaxy should stop right on the break point you added.
|
||||
6. Enjoy your debugging session :-)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user