This repository was archived by the owner on Jan 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,6 +114,28 @@ Once you have completed the previous steps to `npm link` the local copy of `@ang
114114
1151155 . You can remove the link later by running ` npm unlink `
116116
117+ 6 . We can debug the deployment with VSCode within ` your-angular-project ` , too.
118+ Go to ` your-angular-project/node_modules/@angular-schule/ngx-deploy-starter/deploy/actions.js ` and place a breakpoint there.
119+ Now you can debug with the following ` launch.json ` file:
120+
121+ ``` json
122+ {
123+ "version" : " 0.2.0" ,
124+ "configurations" : [
125+ {
126+ "type" : " node" ,
127+ "request" : " launch" ,
128+ "name" : " Debug ng deploy" ,
129+ "skipFiles" : [" <node_internals>/**" ],
130+ "program" : " ${workspaceFolder}/node_modules/@angular/cli/bin/ng" ,
131+ "cwd" : " ${workspaceFolder}" ,
132+ "sourceMaps" : true ,
133+ "args" : [" deploy" , " --no-build" ]
134+ }
135+ ]
136+ }
137+ ```
138+
117139### 4. Testing
118140
119141Testing is done with [ Jest] ( https://jestjs.io/ ) .
You can’t perform that action at this time.
0 commit comments