Fix: debugger (#1014)

* fix(client): remove debugger code

* chore: recover vscode debugger configuration
This commit is contained in:
Junyi 2022-11-02 23:31:23 +08:00 committed by GitHub
parent 642e04490d
commit 33b96c7545
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 3 deletions

32
.vscode/launch.json vendored
View File

@ -4,13 +4,41 @@
// 访: https://go.microsoft.com/fwlink/?linkid=830387 // 访: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug Server",
"cmd": "${workspaceRoot}",
"runtimeArgs": [
"-r", "dotenv/config",
"-r", "tsconfig-paths/register",
"-r", "ts-node/register"
],
"args": ["${workspaceRoot}/packages/app/server/src/index.ts", "start"],
"port": 9229,
"skipFiles": [
"<node_internals>/**"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{ {
"type": "node", "type": "node",
"request": "launch", "request": "launch",
"name": "Debug Jest Tests", "name": "Debug Jest Tests",
"runtimeExecutable": "yarn", "runtimeExecutable": "yarn",
"runtimeArgs": ["run", "--inspect-brk", "test", "--runInBand", "${fileBasenameNoExtension}"], "runtimeArgs": [
"skipFiles": ["<node_internals>/**"], "run",
"--inspect-brk",
"test",
"--runInBand",
// could be any single file path to debug
"${workspaceFolder}/packages/plugins/workflow/src/__tests__/instructions/parallel.test.ts"
],
"port": 9229,
"skipFiles": [
"<node_internals>/**"
],
"console": "integratedTerminal", "console": "integratedTerminal",
"internalConsoleOptions": "neverOpen" "internalConsoleOptions": "neverOpen"
} }

View File

@ -182,7 +182,6 @@ export const CollectionFieldsTableArray: React.FC<any> = observer((props) => {
}; };
const expandedRowRender = (record: CategorizeDataItem, index, indent, expanded) => { const expandedRowRender = (record: CategorizeDataItem, index, indent, expanded) => {
debugger;
return ( return (
<Table <Table
{...others} {...others}