Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

Debug index.worker.js #10

@apuyapuy

Description

@apuyapuy

big thanks, this is a nice componen... its really help me to create a background service...

every time i want to test my index.worker.js using this script :
node node_modules/react-native/local-cli/cli.js start --reset-cache
node node_modules/react-native/local-cli/cli.js start --port 8082 --reset-cache
concurrently --kill-others "npm run start-app" "npm run start-worker"
adb reverse tcp:8081 tcp:8081 && adb reverse tcp:8082 tcp:8082
node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest ./android/app/src/main/res/ --entry-file index.android.js --platform android --bundle-output ./android/app/src/main/assets/index.android.bundle --sourcemap-output ./sourcemap/android.main.map
node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest ./android/app/src/main/res/ --entry-file index.worker.js --platform android --bundle-output ./android/app/src/main/assets/index.worker.bundle --sourcemap-output ./sourcemap/android.worker.map
npm run bundle-app-android && npm run bundle-worker-android
concurrently --kill-others "npm run bundle-ios" "run bundle-android\

but i can not debug...

can u give me the tutorial to debug my index.worker.js file?

thanks in advanced

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions