Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow context propagation in linked model
- Loading branch information
Showing
9 changed files
with
121 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,48 @@ | ||
# Debug in VSCode | ||
|
||
Seems we need to add the outFiles as absolute path | ||
Launch in your "Javascript Debugger Console". | ||
|
||
For unit tests, you have to specify something: | ||
|
||
``` | ||
``` | ||
|
||
|
||
``` | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
version: "0.2.0", | ||
configurations: [ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
type: "pwa-node", | ||
request: "launch", | ||
name: `Debug ${"projectName"} Webda API`, // Add project-name | ||
skipFiles: ["<node_internals>/**"], | ||
runtimeArgs: ["--nolazy"], | ||
program: "node_modules/.bin/webda", | ||
args: ["--notty", "--noCompile", "--logLevel", "TRACE", "serve", "--devMode"], | ||
sourceMaps: true, | ||
smartStep: true, | ||
console: "integratedTerminal", | ||
autoAttachChildProcesses: true, | ||
outFiles: [ | ||
"${absPath}/lib/**/*.js", // Replace by abspath | ||
"${absPath}/lib/*.js", | ||
"/datas/git/webda.io/packages/**/lib/**/*.js", | ||
"/datas/git/webda.io/packages/**/lib/*.js" | ||
] | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Launch Webda Test", | ||
"skipFiles": ["<node_internals>/**"], | ||
"runtimeArgs": ["--nolazy"], | ||
"program": "node_modules/.bin/mocha", | ||
"cwd": "${workspaceFolder}/packages/core", | ||
"args": [ | ||
"--exit", | ||
"--timeout=30000", | ||
"-r", | ||
"../../node_modules/ts-node/register", | ||
"src/**/*.spec.ts", | ||
"src/*.spec.ts", | ||
"src/**/**/*.spec.ts", | ||
"-g", | ||
"DomainServiceTest" | ||
], | ||
"sourceMaps": true, | ||
"smartStep": true, | ||
"console": "integratedTerminal", | ||
"autoAttachChildProcesses": true, | ||
"outFiles": [ | ||
"/datas/git/webda.io/packages/**/lib/**/*.js", | ||
"/datas/git/webda.io/packages/**/lib/*.js" | ||
] | ||
} | ||
] | ||
] | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters