You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -209,6 +209,7 @@ npm run <SCRIPT_NAME>
209
209
|`back-end:start`| Starts the back-end server (assumes it has already been built by grunt). |
210
210
|`back-end:build`| Builds the back-end server using grunt. |
211
211
|`back-end:watch`| Builds and starts the back-end server inside a nodemon process, rebuilding and restarting it whenever a back-end or shared source file changes. |
212
+
| `back-end:debug-watch` | Similar to back-end:debug but generates source maps to enable IDE debugging of the API project
212
213
|`back-end:typedoc`| Builds TypeDoc API documentation for the back-end source code. |
213
214
|`shared:lint`| Lints the shared source code using eslint. |
214
215
|`shared:typedoc`| Builds TypeDoc API documentation for the shared source code. |
@@ -411,4 +412,4 @@ The Digital Marketplace is currently operated by the Procurement Services Branch
411
412
412
413
## Credits
413
414
414
-
This project would not have been possible by the incredible work done by open source project maintainers. The licenses for open source projects used by the Procurement Concierge Program's web app are documented in `docs/open-source-licenses.txt`.
415
+
This project would not have been possible by the incredible work done by open source project maintainers. The licenses for open source projects used are documented in `docs/open-source-licenses.txt`.
[request:b7c10e3f-5bd9-49f7-a82f-3d4d21e2b042] -> GET /images/illustrations/collaboration_work.svg sessionId="anonymous"
@@ -99,3 +104,11 @@ Debugging the front-end might require evaluating MSG's in the state object.
99
104
[hooks] Invoked cwuCrudHook at Thu Nov 24 2022 16:02:55 GMT-0800 (Pacific Standard Time)
100
105
[hooks] Invoked swuCrudHook at Thu Nov 24 2022 16:02:55 GMT-0800 (Pacific Standard Time)
101
106
```
107
+
108
+
### Debugging with Source Maps
109
+
110
+
For debugging with IDE integration and source maps, use the following:
111
+
112
+
In your IDE, set up a debug configuration that connects to your Node.js application. For VS Code You can use the pre-configured 'Run Script:back-end:debug' command, which will automatically start and attach to the debug session. This allows you to set breakpoints, inspect variables, and step through your back-end code.
113
+
114
+
This setup uses a separate `tsconfig.debug.json` configuration that only generates source maps when needed for debugging.
Copy file name to clipboardExpand all lines: docs/onboarding.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -176,7 +176,7 @@ To watch for source file changes and rebuild the back-end during local developme
176
176
|`src/back-end/lib/hooks/code-with-us.ts`| A hook that automatically marks Code With Us opportunities as ready for evaluation. This hook is run on a per-request basis and is throttled to limit resource utilization. |
177
177
|`src/back-end/lib/hooks/logger.ts`| A hook that logs each request and response. |
178
178
|`src/back-end/lib/hooks/sprint-with-us.ts`| A hook that automatically marks Sprint With Us opportunities as ready for evaluation. This hook is run on a per-request basis and is throttled to limit resource utilization. |
179
-
|`src/back-end/lib/mailer/notifications/`| Modules that export individual email notifications. |
179
+
|`src/back-end/lib/mailer/notifications/`| Modules that export individual email notifications. **Note:** There is a discrepancy in how contract dates are displayed in opportunity award emails across the three opportunity types. CWU opportunities have `startDate` and `completionDate` fields but do not include them in award emails, while TWU opportunities include them.|
180
180
|`src/back-end/lib/mailer/index.tsx`| Exports general types for representing transactional emails. |
181
181
|`src/back-end/lib/mailer/templates.tsx`| Exports types, functions and React views for rendering email notifications. |
182
182
|`src/back-end/lib/mailer/transport.ts`| Exports types and functions for sending transactional emails using `nodemailer`. |
0 commit comments