-
Notifications
You must be signed in to change notification settings - Fork 317
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DI] Use column number from source maps
- Loading branch information
Showing
14 changed files
with
84 additions
and
33 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
1 change: 0 additions & 1 deletion
1
integration-tests/debugger/target-app/source-map-support/index.js.map
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
integration-tests/debugger/target-app/source-map-support/minify.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
require('dd-trace/init') | ||
|
||
const { createServer } = require('node:http') | ||
|
||
const server = createServer((req, res) => { | ||
res.end('hello world') // BREAKPOINT: / | ||
}) | ||
|
||
server.listen(process.env.APP_PORT, () => { | ||
process.send?.({ port: process.env.APP_PORT }) | ||
}) |
2 changes: 2 additions & 0 deletions
2
integration-tests/debugger/target-app/source-map-support/minify.min.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
integration-tests/debugger/target-app/source-map-support/minify.min.js.map
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
integration-tests/debugger/target-app/source-map-support/scripts/build-minifiy.sh
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env sh | ||
|
||
npx uglify-js integration-tests/debugger/target-app/source-map-support/minify.js \ | ||
-o integration-tests/debugger/target-app/source-map-support/minify.min.js \ | ||
--v8 \ | ||
--source-map url=minify.min.js.map |
3 changes: 3 additions & 0 deletions
3
integration-tests/debugger/target-app/source-map-support/scripts/build-typescript.sh
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env sh | ||
|
||
npx --package=typescript -- tsc --sourceMap integration-tests/debugger/target-app/source-map-support/typescript.ts |
2 changes: 1 addition & 1 deletion
2
...er/target-app/source-map-support/index.js → ...rget-app/source-map-support/typescript.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
integration-tests/debugger/target-app/source-map-support/typescript.js.map
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
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