Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
170 changes: 86 additions & 84 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,86 +1,88 @@
{
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug Rspack",
"program": "node",
"args": [
"packages/rspack-cli/bin/rspack.js",
"${input:rspackCommand}",
"-c",
"${input:rspackConfigPath}"
],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug Jest Test",
"program": "node",
"args": [
"--experimental-vm-modules",
"../../node_modules/jest-cli/bin/jest",
"--runInBand",
"${input:pickTestFile}",
"-t",
"${input:pickPattern}"
],
"cwd": "${workspaceFolder}/packages/rspack-test-tools",
"initCommands": ["settings set target.process.follow-fork-mode child"]
},
{
"name": "Attach JavaScript",
"processId": "${command:PickProcess}",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
},
{
"type": "lldb",
"request": "attach",
"name": "Attach Rust",
"pid": "${command:pickMyProcess}"
},
],
"inputs": [
{
"id": "pickTest",
"type": "command",
"command": "extension.pickTest",
},
{
"id": "rspackCommand",
"type": "pickString",
"options": [
"build",
"dev"
],
"description": "choose build or dev mode",
"default": "dev"
},
{
"id": "rspackConfigPath",
"type": "promptString",
"description": "the rspack config path of your project",
"default": "examples/basic/rspack.config.cjs"
},
{
"id": "pickTestFile",
"type": "command",
"command": "shellCommand.execute",
"args": {
"command":"ls -alh packages/rspack-test-tools/tests/*.test.js | awk {'print $9'}",
"description": "pick test file"
}
},
{
"id": "pickPattern",
"type": "promptString",
"description": "pattern to filter test files",
"default": ""
}
]
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug Rspack",
"program": "node",
"args": [
"packages/rspack-cli/bin/rspack.js",
"${input:rspackCommand}",
"-c",
"${input:rspackConfigPath}"
],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug Jest Test",
"program": "node",
"args": [
"--experimental-vm-modules",
"../../node_modules/jest-cli/bin/jest",
"--runInBand",
"${input:pickTestFile}",
"-t",
"${input:pickPattern}"
],
"cwd": "${workspaceFolder}/packages/rspack-test-tools",
"initCommands": [
"settings set target.process.follow-fork-mode child"
]
},
{
"name": "Attach JavaScript",
"processId": "${command:PickProcess}",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
},
{
"type": "lldb",
"request": "attach",
"name": "Attach Rust",
"pid": "${command:pickMyProcess}"
}
],
"inputs": [
{
"id": "pickTest",
"type": "command",
"command": "extension.pickTest"
},
{
"id": "rspackCommand",
"type": "pickString",
"options": [
"build",
"dev"
],
"description": "choose build or dev mode",
"default": "dev"
},
{
"id": "rspackConfigPath",
"type": "promptString",
"description": "the rspack config path of your project",
"default": "examples/basic/rspack.config.cjs"
},
{
"id": "pickTestFile",
"type": "command",
"command": "shellCommand.execute",
"args": {
"command": "ls -alh packages/rspack-test-tools/tests/*.test.js | awk {'print $9'}",
"description": "pick test file"
}
},
{
"id": "pickPattern",
"type": "promptString",
"description": "pattern to filter test files",
"default": ""
}
]
}
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading