Skip to content

Commit 10ceb4d

Browse files
authored
Update CONTRIBUTING.md (#541)
1 parent 0146212 commit 10ceb4d

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

CONTRIBUTING.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,16 +123,30 @@ pip install -e $REPOSITORY_ROOT/
123123
```
124124
where REPOSITORY_ROOT is the root folder of the azure-functions-durable-python repository
125125

126-
7. Set breakpoints and click Run -> Start Debugging in VS Code. This should internally start the Azure Function using `func host start` command.
126+
7. Set breakpoints and click Run -> Start Debugging in VS Code. This should internally start the Azure Function using `func host start` command. If the breakpoints are not getting hit, check to make sure that you have set `justMyCode: false` in the function app's .vscode/launch.json.
127+
128+
```
129+
{
130+
"version": "0.2.0",
131+
"configurations": [
132+
{
133+
...
134+
"justMyCode": false
135+
...
136+
}
137+
]
138+
}
139+
```
127140

128141
### Debugging end-to-end
129142

130143
If you want to debug into the Durable Task or any of the .NET bits, follow instructions below:
131144

132-
1. Open the Azure Storage Explorer and connect to the local storage emulator or the storage account you are using.
133-
2. Make sure the Durable Python debugging is setup already and the debugger has started the `func` process.
134-
3. In the VSCode editor for DurableTask, click Debug -> .NET Core Attach Process and search for `func host start` process and attach to it.
135-
4. Add a breakpoint in both editors and continue debugging.
145+
1. If you would like to debug a custom local WebJobs extension package then create the custom package, place it in a local directory, and then run `func extensions install --package Microsoft.Azure.WebJobs.Extensions.DurableTask --version <VERSION>`. If you update the version while debugging and the new version doesn't get picked up, then try running `func extensions install` to get the new changes.
146+
2. Open the Azure Storage Explorer and connect to the local storage emulator or the storage account you are using.
147+
3. Make sure the Durable Python debugging is setup already and the debugger has started the `func` process.
148+
4. In the VSCode editor for DurableTask, click Debug -> .NET Core Attach Process, search for `func host start` process and attach to it. If you are using Visual Studio, click Debug -> Attach to Process, search for the `func` process and attach to it.
149+
5. Add a breakpoint in both editors and continue debugging.
136150

137151
## Testing changes locally (Windows)
138152

0 commit comments

Comments
 (0)